posix.cfg: Added support for sendfile().

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

View File

@ -1341,6 +1341,25 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<valid>0:</valid>
</arg>
</function>
<!-- ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count); -->
<function name="sendfile">
<leak-ignore/>
<returnValue type="ssize_t"/>
<arg nr="1" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
</arg>
<arg nr="4" direction="in">
<valid>1:</valid>
</arg>
</function>
<!-- ssize_t read(int fd, void *buf, size_t count); -->
<function name="read">
<leak-ignore/>