posix.cfg: Added support for flockfile(), funlockfile() and trylockfile().

This commit is contained in:
orbitcowboy 2019-05-18 11:29:30 +02:00
parent 570969be08
commit 03b4447350
1 changed files with 18 additions and 0 deletions

View File

@ -395,6 +395,24 @@
<not-bool/>
</arg>
</function>
<!-- void flockfile(FILE *filehandle); -->
<!-- void funlockfile(FILE *filehandle); -->
<function name="flockfile,funlockfile">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="inout">
<not-uninit/>
</arg>
</function>
<!-- int ftrylockfile(FILE *filehandle); -->
<function name="ftrylockfile">
<noreturn>false</noreturn>
<use-retval/>
<returnValue type="int"/>
<arg nr="1" direction="inout">
<not-uninit/>
</arg>
</function>
<!-- int symlink(const char *oldpath, const char *newpath); -->
<function name="symlink">
<noreturn>false</noreturn>