Lines Matching refs:sendfile

16 /// If `offset` is `None`, `sendfile` will begin reading at the current offset of `in_fd`and will
17 /// update the offset of `in_fd`. If `offset` is `Some`, `sendfile` will begin at the specified
23 /// For more information, see [the sendfile(2) man page.](https://man7.org/linux/man-pages/man2/sendfile.2.html)
26 pub fn sendfile(
35 let ret = unsafe { libc::sendfile(out_fd, in_fd, offset, count) };
43 /// If `offset` is `None`, `sendfile` will begin reading at the current offset of `in_fd`and will
44 /// update the offset of `in_fd`. If `offset` is `Some`, `sendfile` will begin at the specified
50 /// For more information, see [the sendfile(2) man page.](https://man7.org/linux/man-pages/man2/sendfile.2.html)
117 /// Configuration options for [`sendfile`.](fn.sendfile.html)
119 /// Causes `sendfile` to return EBUSY instead of blocking when attempting to read a
122 /// Causes `sendfile` to sleep until the network stack releases its reference to the
123 /// VM pages read. When `sendfile` returns, the data is not guaranteed to have been
126 /// Causes `sendfile` to cache exactly the number of pages specified in the
129 /// Causes `sendfile` not to cache the data read.
157 /// [the sendfile(2) man page.](https://www.freebsd.org/cgi/man.cgi?query=sendfile&sektion=2)
159 pub fn sendfile(
171 // see `man 2 sendfile`
178 libc::sendfile(in_fd,
208 /// [the sendfile(2) man page.](https://leaf.dragonflybsd.org/cgi/web-man?command=sendfile&section=2)
209 pub fn sendfile(
221 libc::sendfile(in_fd,
254 /// [the sendfile(2) man page.](https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man2/sendfile.2.html)
255 pub fn sendfile(
267 libc::sendfile(in_fd,