Add more interfaces to posix.cfg
This commit is contained in:
parent
0095873528
commit
786ce0ac5c
|
@ -150,6 +150,28 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int dup(int fildes);
|
||||||
|
see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dup.html -->
|
||||||
|
<function name="dup">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="int"/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-bool/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- int dup(int fildes);
|
||||||
|
see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dup.html -->
|
||||||
|
<function name="dup2">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="int"/>
|
||||||
|
<arg nr="1">
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-bool/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
<!-- int gettimeofday(struct timeval *tv, struct timezone *tz); -->
|
<!-- int gettimeofday(struct timeval *tv, struct timezone *tz); -->
|
||||||
<function name="gettimeofday">
|
<function name="gettimeofday">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
@ -1643,6 +1665,28 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int select(int nfds, fd_set *restrict readfds, fd_set * writefds, fd_set * errorfds, struct timeval *timeout);
|
||||||
|
see http://pubs.opengroup.org/onlinepubs/9699919799/functions/pselect.html -->
|
||||||
|
<function name="select">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="int"/>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<!-- ignored -->
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<!-- optional -->
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<!-- optional -->
|
||||||
|
</arg>
|
||||||
|
<arg nr="4">
|
||||||
|
<!-- optional -->
|
||||||
|
</arg>
|
||||||
|
<arg nr="5">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
<!-- pid_t setpgrp(void); -->
|
<!-- pid_t setpgrp(void); -->
|
||||||
<function name="setpgrp">
|
<function name="setpgrp">
|
||||||
<returnValue type="pid_t"/>
|
<returnValue type="pid_t"/>
|
||||||
|
|
Loading…
Reference in New Issue