posix.cfg: Added support for socketpair().

This commit is contained in:
orbitcowboy 2019-05-03 20:52:10 +02:00
parent 7900902ad9
commit 90c6ea53ef
1 changed files with 20 additions and 0 deletions

View File

@ -1800,6 +1800,26 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<not-bool/>
</arg>
</function>
<!-- int socketpair(int domain, int type, int protocol, int sv[2]); -->
<function name="socketpair">
<returnValue type="int"/>
<noreturn>false</noreturn>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
</arg>
<arg nr="4" direction="out">
<not-null/>
<not-bool/>
<minsize type="value" value="2"/>
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man2/socketpair.2.html -->
<!-- int pipe(int fildes[2]); -->
<function name="pipe">
<returnValue type="int"/>