git: e349cc19cf1c - main - shm_open(2): Cross-reference posixshmcontrol(1)
Michael Gmelin
grembo at FreeBSD.org
Fri Jun 25 16:13:15 UTC 2021
The branch main has been updated by grembo (ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=e349cc19cf1c3a2315f0e5254a44de01d9ac61bf
commit e349cc19cf1c3a2315f0e5254a44de01d9ac61bf
Author: Michael Gmelin <grembo at FreeBSD.org>
AuthorDate: 2021-06-25 14:04:37 +0000
Commit: Michael Gmelin <grembo at FreeBSD.org>
CommitDate: 2021-06-25 16:12:05 +0000
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
---
lib/libc/sys/shm_open.2 | 7 ++++---
1 file 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 ,
More information about the dev-commits-src-main
mailing list