gnu.cfg: Added support for more interfaces.
This commit is contained in:
parent
53357f2f31
commit
c693e8969d
51
cfg/gnu.cfg
51
cfg/gnu.cfg
|
@ -66,8 +66,33 @@
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
<!-- int pipe(int fildes[2],int flags); -->
|
<!-- ssize_t splice(int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags); -->
|
||||||
<function name="pipe">
|
<function name="splice">
|
||||||
|
<returnValue type="ssize_t"/>
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<arg nr="1" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
<valid>0:</valid>
|
||||||
|
</arg>
|
||||||
|
<arg nr="2" direction="inout"/>
|
||||||
|
<arg nr="3" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
<valid>0:</valid>
|
||||||
|
</arg>
|
||||||
|
<arg nr="4" direction="inout"/>
|
||||||
|
<arg nr="5" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
|
<valid>1:</valid>
|
||||||
|
</arg>
|
||||||
|
<arg nr="6" direction="in">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- int pipe2(int pipefd[2],int flags); -->
|
||||||
|
<function name="pipe2">
|
||||||
<returnValue type="int"/>
|
<returnValue type="int"/>
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<arg nr="1" direction="out">
|
<arg nr="1" direction="out">
|
||||||
|
@ -301,6 +326,7 @@
|
||||||
<arg nr="3" direction="in">
|
<arg nr="3" direction="in">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
<!-- char *qecvt(long double value, int ndigit, int * decpt, int * sign); -->
|
<!-- char *qecvt(long double value, int ndigit, int * decpt, int * sign); -->
|
||||||
|
@ -841,9 +867,20 @@
|
||||||
<!-- see http://kernelnewbies.org/FAQ/LikelyUnlikely -->
|
<!-- see http://kernelnewbies.org/FAQ/LikelyUnlikely -->
|
||||||
<define name="likely(X)" value="(X)"/>
|
<define name="likely(X)" value="(X)"/>
|
||||||
<define name="unlikely(X)" value="(X)"/>
|
<define name="unlikely(X)" value="(X)"/>
|
||||||
<!-- int epoll_create(int size);
|
<!-- int epoll_create(int size); -->
|
||||||
int epoll_create1(int flags); -->
|
<function name="epoll_create">
|
||||||
<function name="epoll_create,epoll_create1">
|
<noreturn>false</noreturn>
|
||||||
|
<returnValue type="int"/>
|
||||||
|
<arg nr="1" direction="in">
|
||||||
|
<not-bool/>
|
||||||
|
<not-uninit/>
|
||||||
|
<!-- Since Linux 2.6.8, the size argument is ignored, but must be greater than zero in order to
|
||||||
|
ensure backward compatibility when new epoll applications are run on older kernels. -->
|
||||||
|
<valid>1:</valid>
|
||||||
|
</arg>
|
||||||
|
</function>
|
||||||
|
<!-- int epoll_create1(int flags); -->
|
||||||
|
<function name="epoll_create1">
|
||||||
<noreturn>false</noreturn>
|
<noreturn>false</noreturn>
|
||||||
<returnValue type="int"/>
|
<returnValue type="int"/>
|
||||||
<arg nr="1" direction="in">
|
<arg nr="1" direction="in">
|
||||||
|
@ -859,6 +896,7 @@
|
||||||
<arg nr="1" direction="in">
|
<arg nr="1" direction="in">
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
<arg nr="2" direction="in">
|
<arg nr="2" direction="in">
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
|
@ -867,6 +905,7 @@
|
||||||
<arg nr="3" direction="in">
|
<arg nr="3" direction="in">
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
<arg nr="4" direction="inout">
|
<arg nr="4" direction="inout">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
@ -880,6 +919,7 @@
|
||||||
<arg nr="1" direction="in">
|
<arg nr="1" direction="in">
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
<arg nr="2" direction="out">
|
<arg nr="2" direction="out">
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
|
@ -902,6 +942,7 @@
|
||||||
<arg nr="1" direction="in">
|
<arg nr="1" direction="in">
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
<valid>0:</valid>
|
||||||
</arg>
|
</arg>
|
||||||
<arg nr="2" direction="out">
|
<arg nr="2" direction="out">
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
|
|
Loading…
Reference in New Issue