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>
<leak-ignore/>
</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); -->
<function name="utime">
<noreturn>false</noreturn>
@ -264,8 +294,10 @@
<not-uninit/>
</arg>
</function>
<!-- int isatty(int fildes); -->
<function name="isatty">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
@ -807,6 +839,14 @@
<noreturn>false</noreturn>
<use-retval/>
</function>
<!-- char *getwd(char *path_name);-->
<function name="getwd">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
</arg>
<leak-ignore/>
</function>
<memory>
<dealloc>free</dealloc>
<alloc init="true">strdup</alloc>