aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2021-06-25 14:04:37 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2021-06-25 16:12:05 +0000
commite349cc19cf1c3a2315f0e5254a44de01d9ac61bf (patch)
treeaba893d26acbe80c5c2b3c91700234a5afabd5eb
parent4aae133469c6bc4ace55bc54eee552971e37e1c4 (diff)
downloadsrc-e349cc19cf1c3a2315f0e5254a44de01d9ac61bf.tar.gz
src-e349cc19cf1c3a2315f0e5254a44de01d9ac61bf.zip
shm_open(2): Cross-reference posixshmcontrol(1)
When debugging POSIX shared memory issues, it's really useful to learn that there is a command line tool now to manipulate shared memory segments. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D30896
-rw-r--r--lib/libc/sys/shm_open.27
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/sys/shm_open.2 b/lib/libc/sys/shm_open.2
index e231115613cf..edf5440d44c4 100644
--- a/lib/libc/sys/shm_open.2
+++ b/lib/libc/sys/shm_open.2
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 26, 2019
+.Dd June 25, 2021
.Dt SHM_OPEN 2
.Os
.Sh NAME
@@ -52,7 +52,7 @@
The
.Fn shm_open
system call opens (or optionally creates) a
-.Tn POSIX
+POSIX
shared memory object named
.Fa path .
The
@@ -258,7 +258,7 @@ and
.Dv O_TRUNC
flags may be used in portable programs.
.Pp
-.Tn POSIX
+POSIX
specifications state that the result of using
.Xr open 2 ,
.Xr read 2 ,
@@ -421,6 +421,7 @@ The required permissions are denied.
requires write permission to the shared memory object.
.El
.Sh SEE ALSO
+.Xr posixshmcontrol 1 ,
.Xr close 2 ,
.Xr fstat 2 ,
.Xr ftruncate 2 ,