Rechercher une page de manuel
do_splice_direct
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
do_splice_direct - splices data directly between two filesSYNOPSIS
- long do_splice_direct(struct file * in, loff_t * ppos, struct file * out, size_t len, unsigned int flags);
ARGUMENTS
in
- file to splice from
ppos
- input file offset
out
- file to splice to
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
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre