mirror of https://github.com/mkerrisk/man-pages
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:
parent
009cdc2239
commit
866ed7369f
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue