table of contents
other versions
GENERIC_SPLICE_SENDP(9) | splice API | GENERIC_SPLICE_SENDP(9) |
NAME¶
generic_splice_sendpage - splice data from a pipe to a socket
SYNOPSIS¶
ssize_t generic_splice_sendpage(struct pipe_inode_info * pipe, struct file * out, loff_t * ppos, size_t len, unsigned int flags);
ARGUMENTS¶
struct pipe_inode_info * pipe
pipe to splice from
struct file * out
socket to write to
loff_t * ppos
position in out
size_t len
number of bytes to splice
unsigned int flags
splice modifier flags
DESCRIPTION¶
Will send len bytes from the pipe to a network socket. No data copying is involved.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |