sendfile.2: Add an explicit reference to splice(2)

Unlike sendfile(), splice() can transfer data
between a pair of sockets.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Tolga Dalman 2011-09-14 07:47:18 +02:00 committed by Michael Kerrisk
parent 009cdc2239
commit 866ed7369f
1 changed files with 6 additions and 1 deletions

View File

@ -12,7 +12,7 @@
.\"
.\" 2005-03-31 Martin Pool <mbp@sourcefrog.net> mmap() improvements
.\"
.TH SENDFILE 2 2011-09-11 "Linux" "Linux Programmer's Manual"
.TH SENDFILE 2 2011-09-14 "Linux" "Linux Programmer's Manual"
.SH NAME
sendfile \- transfer data between file descriptors
.SH SYNOPSIS
@ -185,6 +185,11 @@ fails with
.B EINVAL
or
.BR ENOSYS .
The Linux-specific
.BR splice (2)
call supports transferring data between arbitrary files
(e.g., a pair of sockets).
.SH "SEE ALSO"
.BR mmap (2),
.BR open (2),