posix.cfg: Added support for dirfd().

This commit is contained in:
orbitcowboy 2019-05-01 13:54:23 +02:00
parent 6da42a3d63
commit d36fcbd945
1 changed files with 11 additions and 0 deletions

View File

@ -480,6 +480,17 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
<not-uninit/>
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/dirfd.3.html -->
<!-- int dirfd(DIR *dirp); -->
<function name="dirfd">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="int"/>
<arg nr="1" direction="in">
<not-uninit/>
<not-null/>
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/access.2.html -->
<!-- int faccessat(int dirfd, const char *pathname, int mode, int flags); -->
<function name="faccessat">