posix.cfg: Added support for socketpair().
This commit is contained in:
parent
7900902ad9
commit
90c6ea53ef
|
@ -1800,6 +1800,26 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</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]); -->
|
<!-- int pipe(int fildes[2]); -->
|
||||||
<function name="pipe">
|
<function name="pipe">
|
||||||
<returnValue type="int"/>
|
<returnValue type="int"/>
|
||||||
|
|
Loading…
Reference in New Issue