Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2017 17:30:00 +0000 (UTC)
From:      Warren Block <wblock@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r312547 - head/lib/libc/sys
Message-ID:  <201701201730.v0KHU0dK043465@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701201730.v0KHU0dK043465>