1GENERIC_SPLICE_SENDP(9) splice API GENERIC_SPLICE_SENDP(9)
2
3
4
6 generic_splice_sendpage - splice data from a pipe to a socket
7
9 ssize_t generic_splice_sendpage(struct pipe_inode_info * pipe,
10 struct file * out, loff_t * ppos,
11 size_t len, unsigned int flags);
12
14 pipe
15 pipe to splice from
16
17 out
18 socket to write to
19
20 ppos
21 position in out
22
23 len
24 number of bytes to splice
25
26 flags
27 splice modifier flags
28
30 Will send len bytes from the pipe to a network socket. No data copying
31 is involved.
32
34Kernel Hackers Manual 2.6. November 2011 GENERIC_SPLICE_SENDP(9)