posix.cfg: Added support of ioctl.

This commit is contained in:
orbitcowboy 2017-09-19 21:12:03 +02:00
parent 840c7eb258
commit c4e2ca2996
1 changed files with 16 additions and 0 deletions

View File

@ -1335,6 +1335,22 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<not-uninit/>
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/ioctl.2.html -->
<!-- int ioctl(int fd, unsigned long request, ...); -->
<function name="ioctl">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="int"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<!-- void syslog(int priority, const char *format, ...); -->
<function name="syslog">
<noreturn>false</noreturn>