posix.cfg: Added more POSIX functions.

This commit is contained in:
orbitcowboy 2015-03-12 12:06:14 +01:00
parent 85a88c4a31
commit 86a34db294
1 changed files with 40 additions and 0 deletions

View File

@ -226,6 +226,36 @@
</arg> </arg>
<leak-ignore/> <leak-ignore/>
</function> </function>
<!-- int lchown(const char *path, uid_t owner, gid_t group); -->
<function name="lchown">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<!-- int fchown(int fildes, uid_t owner, gid_t group); -->
<function name="fchown">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<!-- int utime(const char *filename, struct utimbuf *buf); --> <!-- int utime(const char *filename, struct utimbuf *buf); -->
<function name="utime"> <function name="utime">
<noreturn>false</noreturn> <noreturn>false</noreturn>
@ -264,8 +294,10 @@
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- int isatty(int fildes); -->
<function name="isatty"> <function name="isatty">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<use-retval/>
<arg nr="1"> <arg nr="1">
<not-uninit/> <not-uninit/>
</arg> </arg>
@ -807,6 +839,14 @@
<noreturn>false</noreturn> <noreturn>false</noreturn>
<use-retval/> <use-retval/>
</function> </function>
<!-- char *getwd(char *path_name);-->
<function name="getwd">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
</arg>
<leak-ignore/>
</function>
<memory> <memory>
<dealloc>free</dealloc> <dealloc>free</dealloc>
<alloc init="true">strdup</alloc> <alloc init="true">strdup</alloc>