posix.cfg add more interfaces from stdlib.h. run astyle
This commit is contained in:
parent
80be769912
commit
42d9afe7de
|
@ -16,6 +16,13 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void _Exit(int status); -->
|
||||
<function name="_Exit">
|
||||
<noreturn>true</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int access(const char *pathname, int mode); -->
|
||||
<function name="access">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -1495,6 +1502,43 @@
|
|||
</arg>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- http://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdlib.h.html -->
|
||||
<!-- double drand48(void); -->
|
||||
<function name="drand48">
|
||||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
</function>
|
||||
<!-- int putenv(char *string); -->
|
||||
<function name="putenv">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
<not-null/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int setenv(const char *envname, const char *envval, int overwrite); -->
|
||||
<function name="setenv">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
<not-null/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
<not-null/>
|
||||
</arg>
|
||||
<arg nr="3">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int unsetenv(const char *name); -->
|
||||
<function name="unsetenv">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
<not-null/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- http://pubs.opengroup.org/onlinepubs/007908799/xsh/time.h.html -->
|
||||
<!-- int clock_settime(clockid_t clock_id, const struct timespec *tp); -->
|
||||
<function name="clock_settime">
|
||||
|
|
Loading…
Reference in New Issue