do_splice_direct(9) centos man page | unix.com

Man Page: do_splice_direct

Operating Environment: centos

Section: 9

DO_SPLICE_DIRECT(9)						    splice API						       DO_SPLICE_DIRECT(9)

NAME
do_splice_direct - splices data directly between two files
SYNOPSIS
long do_splice_direct(struct file * in, loff_t * ppos, struct file * out, loff_t * opos, size_t len, unsigned int flags);
ARGUMENTS
in file to splice from ppos input file offset out file to splice to opos output file offset len number of bytes to splice flags splice modifier flags
DESCRIPTION
For use by do_sendfile. splice can easily emulate sendfile, but doing it in the application would incur an extra system call (splice in + splice out, as compared to just sendfile). So this helper can splice directly through a process-private pipe.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 DO_SPLICE_DIRECT(9)
Related Man Pages
splice(2) - debian
splice(2) - suse
splice(2) - x11r4
splice(2) - xfree86
splice(2) - plan9
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Tar Command
Docker learning Phase-I
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!