posix.cfg: Added support for more functions.
This commit is contained in:
parent
84830638a2
commit
c73e0a82f8
|
@ -11,6 +11,19 @@
|
||||||
</arg>
|
</arg>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int symlink(const char *oldpath, const char *newpath); -->
|
||||||
|
<function name="symlink">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<leak-ignore/>
|
||||||
|
</function>
|
||||||
<!-- int open(const char *pathname, int flags) -->
|
<!-- int open(const char *pathname, int flags) -->
|
||||||
<function name="open">
|
<function name="open">
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
|
@ -23,6 +36,33 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- int creat(const char *pathname, mode_t mode); -->
|
||||||
|
<function name="creat">
|
||||||
|
<use-retval/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- int open(const char *pathname, int flags, mode_t mode); -->
|
||||||
|
<function name="open">
|
||||||
|
<use-retval/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<arg nr="3">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
<!-- unsigned int sleep(unsigned int seconds); -->
|
<!-- unsigned int sleep(unsigned int seconds); -->
|
||||||
<function name="sleep">
|
<function name="sleep">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
|
@ -959,6 +999,7 @@
|
||||||
<resource>
|
<resource>
|
||||||
<dealloc>close</dealloc>
|
<dealloc>close</dealloc>
|
||||||
<alloc init="true">open</alloc>
|
<alloc init="true">open</alloc>
|
||||||
|
<alloc init="true">creat</alloc>
|
||||||
<alloc init="true">socket</alloc>
|
<alloc init="true">socket</alloc>
|
||||||
</resource>
|
</resource>
|
||||||
<resource>
|
<resource>
|
||||||
|
|
Loading…
Reference in New Issue