diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-05-05 06:29:16 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-05-05 06:29:16 +0000 |
commit | 563034f0ab2f136fd09592a024d3da0618259748 (patch) | |
tree | 63bca02d90b702aa0e56a5ad74582abf61226e04 /lib/libc | |
parent | 82f145510eb886be282d2b65ae924ede52dba251 (diff) |
Document that shm_open() accepts O_CLOEXEC and O_NOFOLLOW as extensions
ok miod@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/shm_open.3 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/libc/gen/shm_open.3 b/lib/libc/gen/shm_open.3 index 1f3afa5d4f0..02e3c3aba65 100644 --- a/lib/libc/gen/shm_open.3 +++ b/lib/libc/gen/shm_open.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: shm_open.3,v 1.4 2014/07/08 00:40:56 matthew Exp $ +.\" $OpenBSD: shm_open.3,v 1.5 2015/05/05 06:29:15 guenther Exp $ .\" .\" Copyright (c) 2013 Ted Unangst <tedu@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 8 2014 $ +.Dd $Mdocdate: May 5 2015 $ .Dt SHM_OPEN 3 .Os .Sh NAME @@ -45,7 +45,7 @@ and must include at least or .Dv O_RDWR and may also include a combination of -.Dv O_CREAT , O_EXCL , +.Dv O_CREAT , O_EXCL , O_CLOEXEC , O_NOFOLLOW , or .Dv O_TRUNC . This implementation forces the @@ -81,6 +81,13 @@ and .Fn shm_unlink appear in .St -p1003.1-2001 . +Using +.Dv O_CLOEXEC +or +.Dv O_NOFOLLOW +with +.Fn shm_open +is an extension to that standard. This implementation deviates from the standard by permitting less sharing. .Pp .Fn shm_mkstemp |