aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/sendfile.2
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commit2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/sendfile.2
parenta1096fe6dfb9dc2ec492a1421075a38d6d75bc02 (diff)
Notes
Diffstat (limited to 'lib/libc/sys/sendfile.2')
-rw-r--r--lib/libc/sys/sendfile.28
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/sys/sendfile.2 b/lib/libc/sys/sendfile.2
index c2ca5296845c..09e8dac70d64 100644
--- a/lib/libc/sys/sendfile.2
+++ b/lib/libc/sys/sendfile.2
@@ -40,7 +40,9 @@
.Ft int
.Fn sendfile "int fd" "int s" "off_t offset" "size_t nbytes" "struct sf_hdtr *hdtr" "off_t *sbytes" "int flags"
.Sh DESCRIPTION
-.Fn Sendfile
+The
+.Fn sendfile
+system call
sends a regular file specified by descriptor
.Fa fd
out a stream socket specified by descriptor
@@ -147,12 +149,16 @@ If specified, the number of bytes successfully sent will be returned in
.Xr socket 2 ,
.Xr writev 2
.Sh HISTORY
+The
.Fn sendfile
+system call
first appeared in
.Fx 3.0 .
This manual page first appeared in
.Fx 3.1 .
.Sh AUTHORS
+The
.Fn sendfile
+system call
and this manual page were written by
.An David Greenman Aq dg@root.com .