1GENERIC_FILE_SPLICE_(9)           splice API           GENERIC_FILE_SPLICE_(9)
2
3
4

NAME

6       generic_file_splice_read - splice data from file to a pipe
7

SYNOPSIS

9       ssize_t generic_file_splice_read(struct file * in, loff_t * ppos,
10                                        struct pipe_inode_info * pipe,
11                                        size_t len, unsigned int flags);
12

ARGUMENTS

14       in
15           file to splice from
16
17       ppos
18           position in in
19
20       pipe
21           pipe to splice to
22
23       len
24           number of bytes to splice
25
26       flags
27           splice modifier flags
28

DESCRIPTION

30       Will read pages from given file and fill them into a pipe. Can be used
31       as long as the address_space operations for the source implements a
32       readpage hook.
33
35Kernel Hackers Manual 2.6.       November 2011         GENERIC_FILE_SPLICE_(9)
Impressum