posix.cfg: Added support for more functions.

This commit is contained in:
Martin Ettl 2015-04-19 00:13:30 +02:00
parent 8d8fffb20f
commit a8a11f2413
1 changed files with 37 additions and 0 deletions

View File

@ -1,5 +1,41 @@
<?xml version="1.0"?>
<def format="1">
<!-- struct group *getgrnam(const char *name); -->
<function name="getgrnam">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<!-- struct group *getgrgid(gid_t gid);-->
<function name="getgrgid">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<!-- int gettimeofday(struct timeval *tv, struct timezone *tz); -->
<function name="gettimeofday">
<noreturn>false</noreturn>
<arg nr="1"/>
<arg nr="2"/>
<leak-ignore/>
</function>
<!-- int settimeofday(const struct timeval *tv, const struct timezone *tz); -->
<function name="settimeofday">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<!-- void FD_CLR(int fd, fd_set *set); -->
<function name="FD_CLR">
<noreturn>false</noreturn>
@ -1179,6 +1215,7 @@
<podtype name="intptr_t"/>
<podtype name="timespec"/>
<podtype name="timeval"/>
<podtype name="timezone"/>
<podtype name="sigaction"/>
<!-- http://pubs.opengroup.org/onlinepubs/009695399/basedefs/arpa/inet.h.html -->
<!-- uint32_t htonl(uint32_t); -->