posix.cfg: Improved support for <unistd.h> functions.

This commit is contained in:
orbitcowboy 2015-02-06 10:47:49 +01:00
parent 73d14d0a9a
commit e6e8decd49
1 changed files with 18 additions and 0 deletions

View File

@ -10,6 +10,18 @@
<function name="_exit">
<noreturn>true</noreturn>
</function>
<!-- int access(const char *pathname, int mode); -->
<function name="access">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<!-- int closedir(DIR *dir); -->
<function name="closedir">
<noreturn>false</noreturn>
@ -545,7 +557,13 @@
<podtype name="clockid_t"/>
<podtype name="dev_t"/>
<podtype name="key_t"/>
<podtype name="tms"/>
<podtype name="pthread_attr_t"/>
<podtype name="pthread_barrier_t"/>
<podtype name="pthread_barrierattr_t"/>
<podtype name="stat"/>
<podtype name="jmp_buf"/>
<podtype name="sigjmp_buf"/>
<podtype name="sigset_t"/>
<podtype name="termios"/>
</def>