summaryrefslogtreecommitdiffstats
path: root/man3/sem_getvalue.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/sem_getvalue.3')
-rw-r--r--man3/sem_getvalue.37
1 files changed, 3 insertions, 4 deletions
diff --git a/man3/sem_getvalue.3 b/man3/sem_getvalue.3
index 6e529ba..925a9bd 100644
--- a/man3/sem_getvalue.3
+++ b/man3/sem_getvalue.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH sem_getvalue 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH sem_getvalue 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
sem_getvalue \- get the value of a semaphore
.SH LIBRARY
@@ -12,7 +12,7 @@ POSIX threads library
.SH SYNOPSIS
.nf
.B #include <semaphore.h>
-.PP
+.P
.BI "int sem_getvalue(sem_t *restrict " sem ", int *restrict " sval );
.fi
.SH DESCRIPTION
@@ -21,7 +21,7 @@ places the current value of the semaphore pointed to
.I sem
into the integer pointed to by
.IR sval .
-.PP
+.P
If one or more processes or threads are blocked
waiting to lock the semaphore with
.BR sem_wait (3),
@@ -60,7 +60,6 @@ T{
.BR sem_getvalue ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
POSIX.1-2008.
.SH HISTORY