svn commit: r312547 - head/lib/libc/sys
Warren Block
wblock at FreeBSD.org
Fri Jan 20 17:30:01 UTC 2017
Author: wblock (doc committer)
Date: Fri Jan 20 17:29:59 2017
New Revision: 312547
URL: https://svnweb.freebsd.org/changeset/base/312547
Log:
Mention sendfile(2) by popular demand.
Submitted by: alc, kib
MFC after: 1 week
Sponsored by: iXsystems
Differential Revision: https://reviews.freebsd.org/D9259
Modified:
head/lib/libc/sys/shm_open.2
Modified: head/lib/libc/sys/shm_open.2
==============================================================================
--- head/lib/libc/sys/shm_open.2 Fri Jan 20 17:28:52 2017 (r312546)
+++ head/lib/libc/sys/shm_open.2 Fri Jan 20 17:29:59 2017 (r312547)
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 13, 2017
+.Dd January 20, 2017
.Dt SHM_OPEN 2
.Os
.Sh NAME
@@ -187,6 +187,11 @@ kernel implementation explicitly include
and
.Xr write 2 .
.Pp
+.Fx
+also supports zero-copy transmission of data from shared memory
+objects with
+.Xr sendfile 2 .
+.Pp
Neither shared memory objects nor their contents persist across reboots.
.Pp
Writes do not extend shared memory objects, so
@@ -281,7 +286,8 @@ requires write permission to the shared
.Xr fstat 2 ,
.Xr ftruncate 2 ,
.Xr mmap 2 ,
-.Xr munmap 2
+.Xr munmap 2 ,
+.Xr sendfile 2
.Sh STANDARDS
The
.Fn shm_open
More information about the svn-src-head
mailing list