summaryrefslogtreecommitdiffstats
path: root/man3/sem_open.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/sem_open.39
1 files changed, 4 insertions, 5 deletions
diff --git a/man3/sem_open.3 b/man3/sem_open.3
index 0845be9..660daa9 100644
--- a/man3/sem_open.3
+++ b/man3/sem_open.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH sem_open 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH sem_open 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
sem_open \- initialize and open a named semaphore
.SH LIBRARY
@@ -14,7 +14,7 @@ POSIX threads library
.BR "#include <fcntl.h>" " /* For O_* constants */"
.BR "#include <sys/stat.h>" " /* For mode constants */"
.B #include <semaphore.h>
-.PP
+.P
.BI "sem_t *sem_open(const char *" name ", int " oflag );
.BI "sem_t *sem_open(const char *" name ", int " oflag ,
.BI " mode_t " mode ", unsigned int " value );
@@ -28,7 +28,7 @@ For details of the construction of
.IR name ,
see
.BR sem_overview (7).
-.PP
+.P
The
.I oflag
argument specifies flags that control the operation of the call.
@@ -54,7 +54,7 @@ are specified in
then an error is returned if a semaphore with the given
.I name
already exists.
-.PP
+.P
If
.B O_CREAT
is specified in
@@ -162,7 +162,6 @@ T{
.BR sem_open ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
POSIX.1-2008.
.SH HISTORY