gnu.cfg: Added support for pipe2().

This commit is contained in:
orbitcowboy 2019-03-30 15:50:18 +01:00
parent a3b7524c84
commit e98ddb6cc5
1 changed files with 13 additions and 0 deletions

View File

@ -54,6 +54,19 @@
<not-bool/>
</arg>
</function>
<!-- int pipe(int fildes[2],int flags); -->
<function name="pipe">
<returnValue type="int"/>
<noreturn>false</noreturn>
<arg nr="1" direction="out">
<not-null/>
<not-bool/>
<minsize type="value" value="2"/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- void * xcalloc(size_t nitems, size_t size); -->
<function name="xcalloc">
<use-retval/>