gnu.cfg: Added support for dup3(). Reference: http://man7.org/linux/man-pages/man2/dup2.2.html

This commit is contained in:
orbitcowboy 2019-04-26 16:57:43 +02:00
parent 2d7323c65f
commit 2dd42b867f
1 changed files with 19 additions and 0 deletions

View File

@ -256,6 +256,25 @@
<not-bool/>
</arg>
</function>
<!-- int dup3(int oldfd, int newfd, int flags); -->
<function name="dup3">
<noreturn>false</noreturn>
<returnValue type="int"/>
<arg nr="1" direction="in">
<not-bool/>
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="2" direction="in">
<not-bool/>
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="3" direction="in">
<not-bool/>
<not-uninit/>
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/strsep.3.html -->
<!-- char *strsep(char **stringp, const char *delim); -->
<function name="strsep">