-.\" $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>
.\"
.\" 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
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
.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