1SPLICE_WRITE_TO_FILE(9) splice API SPLICE_WRITE_TO_FILE(9)
2
3
4
6 splice_write_to_file - splice data from a pipe to a file
7
9 ssize_t splice_write_to_file(struct pipe_inode_info * pipe,
10 struct file * out, loff_t * ppos,
11 size_t len, unsigned int flags,
12 splice_write_actor actor);
13
15 pipe
16 pipe info
17
18 out
19 file to write to
20
21 ppos
22 position in out
23
24 len
25 number of bytes to splice
26
27 flags
28 splice modifier flags
29
30 actor
31 worker that does the splicing from the pipe to the file
32
34 Will either move or copy pages (determined by flags options) from the
35 given pipe inode to the given file.
36
38Kernel Hackers Manual 3.10 June 2019 SPLICE_WRITE_TO_FILE(9)