posix.cfg: Added support for more functions.

This commit is contained in:
orbitcowboy 2015-04-10 08:26:44 +02:00
parent c73e0a82f8
commit 6610b782cf
1 changed files with 35 additions and 0 deletions

View File

@ -1,5 +1,28 @@
<?xml version="1.0"?>
<def format="1">
<!-- int truncate(const char *path, off_t length); -->
<function name="truncate">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<!-- int ftruncate(int fd, off_t length); -->
<function name="ftruncate">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<!-- int flock(int fd, int operation); -->
<function name="flock">
<noreturn>false</noreturn>
@ -816,6 +839,9 @@
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<!-- void syslog(int priority, const char *format, ...); -->
<function name="syslog">
@ -972,6 +998,14 @@
<not-uninit/>
</arg>
</function>
<!-- int setfsuid(uid_t fsuid); -->
<function name="setfsuid">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<!-- pid_t setsid(void); -->
<function name="setsid">
<noreturn>false</noreturn>
@ -1641,6 +1675,7 @@
<arg nr="1">
<not-null/>
</arg>
<arg nr="2"/>
<leak-ignore/>
</function>
<!-- void setkey(const char *key); -->