posix.cfg: Added support for fstatat().

This commit is contained in:
orbitcowboy 2019-05-21 15:21:48 +02:00
parent de4a33167d
commit e63b3a44d8
1 changed files with 22 additions and 0 deletions

View File

@ -1089,6 +1089,28 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<not-bool/> <not-bool/>
</arg> </arg>
</function> </function>
<!-- int fstatat(int dirfd, const char *pathname, struct stat *statbuf, int flags); -->
<function name="fstat">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="int"/>
<arg nr="1" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="2" direction="in">
<not-null/>
<not-uninit/>
</arg>
<arg nr="3" direction="out">
<not-null/>
<not-bool/>
</arg>
<arg nr="4" direction="in">
<not-bool/>
<not-uninit/>
</arg>
</function>
<!-- int chmod(const char *path, mode_t mode); --> <!-- int chmod(const char *path, mode_t mode); -->
<function name="chmod"> <function name="chmod">
<noreturn>false</noreturn> <noreturn>false</noreturn>