diff options
author | wblock <wblock@FreeBSD.org> | 2017-01-27 17:54:24 +0000 |
---|---|---|
committer | wblock <wblock@FreeBSD.org> | 2017-01-27 17:54:24 +0000 |
commit | e4632580321a32da8868f0307f9284dbef33f906 (patch) | |
tree | 6cdfe07518298edf0d216e0a4448b6e7c5a918bd | |
parent | 2e4d87b44d4c7e3eef53d671ebaba9175f21da11 (diff) | |
download | FreeBSD-src-e4632580321a32da8868f0307f9284dbef33f906.zip FreeBSD-src-e4632580321a32da8868f0307f9284dbef33f906.tar.gz |
MFC r312547: Mention sendfile(2) by popular demand.
Sponsored by: iXsystems
-rw-r--r-- | lib/libc/sys/shm_open.2 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libc/sys/shm_open.2 b/lib/libc/sys/shm_open.2 index f77eb49..0855c07 100644 --- a/lib/libc/sys/shm_open.2 +++ b/lib/libc/sys/shm_open.2 @@ -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 includes support for 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 memory object. .Xr fstat 2 , .Xr ftruncate 2 , .Xr mmap 2 , -.Xr munmap 2 +.Xr munmap 2 , +.Xr sendfile 2 .Sh STANDARDS The .Fn shm_open |