generic_file_splice_read (9) Linux Manual Page
generic_file_splice_read – splice data from file to a pipe
Synopsis
-
ssize_t generic_file_splice_read(struct filein* , loff_tppos* , struct pipe_inode_infopipe* , size_tlen, unsigned intflags);
Arguments
in
-
- file to splice from
ppos
- position in in
pipe
- pipe to splice to
len
- number of bytes to splice
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.
