gnu.cfg: Added support for dup3(). Reference: http://man7.org/linux/man-pages/man2/dup2.2.html
This commit is contained in:
parent
2d7323c65f
commit
2dd42b867f
19
cfg/gnu.cfg
19
cfg/gnu.cfg
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue