table of contents
other versions
GENERIC_FILE_SPLICE_(9) | splice API | GENERIC_FILE_SPLICE_(9) |
NAME¶
generic_file_splice_read - splice data from file to a pipe
SYNOPSIS¶
ssize_t generic_file_splice_read(struct file * in, loff_t * ppos, struct pipe_inode_info * pipe, size_t len, unsigned int flags);
ARGUMENTS¶
struct file * in
file to splice from
loff_t * ppos
position in in
struct pipe_inode_info * pipe
pipe to splice to
size_t len
number of bytes to splice
unsigned int flags
splice modifier flags
DESCRIPTION¶
Will read pages from given file and fill them into a pipe. Can be used as long as it has more or less sane ->read_iter.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |