'\" t .\" Title: generic_splice_sendpage .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: splice API .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "GENERIC_SPLICE_SENDP" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "splice API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" generic_splice_sendpage \- splice data from a pipe to a socket .SH "SYNOPSIS" .HP \w'ssize_t\ generic_splice_sendpage('u .BI "ssize_t generic_splice_sendpage(struct\ pipe_inode_info\ *\ " "pipe" ", struct\ file\ *\ " "out" ", loff_t\ *\ " "ppos" ", size_t\ " "len" ", unsigned\ int\ " "flags" ");" .SH "ARGUMENTS" .PP \fIstruct pipe_inode_info * pipe\fR .RS 4 pipe to splice from .RE .PP \fIstruct file * out\fR .RS 4 socket to write to .RE .PP \fIloff_t * ppos\fR .RS 4 position in \fIout\fR .RE .PP \fIsize_t len\fR .RS 4 number of bytes to splice .RE .PP \fIunsigned int flags\fR .RS 4 splice modifier flags .RE .SH "DESCRIPTION" .PP Will send \fIlen\fR bytes from the pipe to a network socket\&. No data copying is involved\&. .SH "COPYRIGHT" .br