posix.cfg: Added missing open() and flock() functions.

This commit is contained in:
Martin Ettl 2015-04-09 19:25:33 +02:00
parent 9f7c71d840
commit 8a3365c23e
1 changed files with 23 additions and 0 deletions

View File

@ -1,5 +1,28 @@
<?xml version="1.0"?>
<def format="1">
<!-- int flock(int fd, int operation); -->
<function name="flock">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<leak-ignore/>
</function>
<!-- int open(const char *pathname, int flags) -->
<function name="open">
<use-retval/>
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<!-- unsigned int sleep(unsigned int seconds); -->
<function name="sleep">
<noreturn>false</noreturn>