1GENERIC_FILE_SPLICE_(9) splice API GENERIC_FILE_SPLICE_(9)
2
3
4
6 generic_file_splice_write - splice data from a pipe to a file
7
9 ssize_t generic_file_splice_write(struct pipe_inode_info * pipe,
10 struct file * out, loff_t * ppos,
11 size_t len, unsigned int flags);
12
14 pipe
15 pipe info
16
17 out
18 file 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 either move or copy pages (determined by flags options) from the
31 given pipe inode to the given file.
32
34Kernel Hackers Manual 3.10 June 2019 GENERIC_FILE_SPLICE_(9)