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

This commit is contained in:
orbitcowboy 2015-02-05 02:27:20 +01:00
parent e6e8decd49
commit 5e3aa17a56
1 changed files with 41 additions and 0 deletions

View File

@ -22,6 +22,30 @@
</arg> </arg>
<leak-ignore/> <leak-ignore/>
</function> </function>
<!-- unsigned int alarm(unsigned int seconds); -->
<function name="alarm">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<!-- int brk(void *addr); -->
<function name="brk">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
</arg>
<leak-ignore/>
</function>
<!-- void *sbrk(intptr_t incr);-->
<function name="sbrk">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<!-- int closedir(DIR *dir); --> <!-- int closedir(DIR *dir); -->
<function name="closedir"> <function name="closedir">
<noreturn>false</noreturn> <noreturn>false</noreturn>
@ -136,6 +160,15 @@
</arg> </arg>
<leak-ignore/> <leak-ignore/>
</function> </function>
<!-- int chroot(const char *path); -->
<function name="chroot">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<leak-ignore/>
</function>
<!-- int link(const char *oldpath, const char *newpath); --> <!-- int link(const char *oldpath, const char *newpath); -->
<function name="link"> <function name="link">
<noreturn>false</noreturn> <noreturn>false</noreturn>
@ -251,6 +284,13 @@
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- int close(int fildes);-->
<function name="close">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="fdopen"> <function name="fdopen">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<arg nr="1"> <arg nr="1">
@ -566,4 +606,5 @@
<podtype name="sigjmp_buf"/> <podtype name="sigjmp_buf"/>
<podtype name="sigset_t"/> <podtype name="sigset_t"/>
<podtype name="termios"/> <podtype name="termios"/>
<podtype name="intptr_t"/>
</def> </def>