Scroll to navigation

GENERIC_FILE_SPLICE_(9) splice API GENERIC_FILE_SPLICE_(9)

NAME

generic_file_splice_write - splice data from a pipe to a file

SYNOPSIS

ssize_t generic_file_splice_write(struct pipe_inode_info * pipe, struct file * out, loff_t * ppos, size_t len, unsigned int flags);

ARGUMENTS

pipe

pipe info

out

file to write to

ppos

position in out

len

number of bytes to splice

flags

splice modifier flags

DESCRIPTION

Will either move or copy pages (determined by flags options) from the given pipe inode to the given file.

COPYRIGHT

May 2024 Kernel Hackers Manual 2.6.