posix.cfg: Improved support for <unistd.h> functions.
This commit is contained in:
parent
e6e8decd49
commit
5e3aa17a56
|
@ -22,6 +22,30 @@
|
|||
</arg>
|
||||
<leak-ignore/>
|
||||
</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); -->
|
||||
<function name="closedir">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -136,6 +160,15 @@
|
|||
</arg>
|
||||
<leak-ignore/>
|
||||
</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); -->
|
||||
<function name="link">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -251,6 +284,13 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int close(int fildes);-->
|
||||
<function name="close">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<function name="fdopen">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
|
@ -566,4 +606,5 @@
|
|||
<podtype name="sigjmp_buf"/>
|
||||
<podtype name="sigset_t"/>
|
||||
<podtype name="termios"/>
|
||||
<podtype name="intptr_t"/>
|
||||
</def>
|
||||
|
|
Loading…
Reference in New Issue