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

This commit is contained in:
orbitcowboy 2015-02-05 11:40:25 +01:00
parent 5e3aa17a56
commit f5a336d576
1 changed files with 23 additions and 1 deletions

View File

@ -284,13 +284,35 @@
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- int close(int fildes);--> <!-- int close(int fildes); -->
<function name="close"> <function name="close">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- size_t confstr(int, char *, size_t); -->
<function name="confstr">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<!-- long int sysconf(int name); -->
<function name="sysconf">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<function name="fdopen"> <function name="fdopen">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<arg nr="1"> <arg nr="1">