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.312
1 files changed, 6 insertions, 6 deletions
diff --git a/man3/sem_getvalue.3 b/man3/sem_getvalue.3
index 5ee09648f..e2ae3a24a 100644
--- a/man3/sem_getvalue.3
+++ b/man3/sem_getvalue.3
@@ -24,13 +24,13 @@ into the integer pointed to by
.P
If one or more processes or threads are blocked
waiting to lock the semaphore with
-.BR sem_wait (3),
+.MR sem_wait 3 ,
POSIX.1 permits two possibilities for the value returned in
.IR sval :
either 0 is returned;
or a negative number whose absolute value is the count
of the number of processes and threads currently blocked in
-.BR sem_wait (3).
+.MR sem_wait 3 .
Linux adopts the former behavior.
.SH RETURN VALUE
.BR sem_getvalue ()
@@ -48,7 +48,7 @@ is not a valid semaphore.
is valid.)
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -69,6 +69,6 @@ The value of the semaphore may already have changed by the time
.BR sem_getvalue ()
returns.
.SH SEE ALSO
-.BR sem_post (3),
-.BR sem_wait (3),
-.BR sem_overview (7)
+.MR sem_post 3 ,
+.MR sem_wait 3 ,
+.MR sem_overview 7