summaryrefslogtreecommitdiffstats
path: root/man2/semop.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/semop.2')
-rw-r--r--man2/semop.234
1 files changed, 17 insertions, 17 deletions
diff --git a/man2/semop.2 b/man2/semop.2
index 92bfec80a..a68c45abe 100644
--- a/man2/semop.2
+++ b/man2/semop.2
@@ -29,7 +29,7 @@ Standard C library
.P
.RS -4
Feature Test Macro Requirements for glibc (see
-.BR feature_test_macros (7)):
+.MR feature_test_macros 7 ):
.RE
.P
.BR semtimedop ():
@@ -331,7 +331,7 @@ The semaphore set was removed.
.TP
.B EINTR
While blocked in this system call, the thread caught a signal; see
-.BR signal (7).
+.MR signal 7 .
.TP
.B EINVAL
The semaphore set doesn't exist, or
@@ -366,9 +366,9 @@ POSIX.1-2001, SVr4.
The
.I sem_undo
structures of a process aren't inherited by the child produced by
-.BR fork (2),
+.MR fork 2 ,
but they are inherited across an
-.BR execve (2)
+.MR execve 2
system call.
.P
.BR semop ()
@@ -397,22 +397,22 @@ When a semaphore's value is directly set using the
or
.B SETALL
request to
-.BR semctl (2),
+.MR semctl 2 ,
the corresponding
.I semadj
values in all processes are cleared.
The
-.BR clone (2)
+.MR clone 2
.B CLONE_SYSVSEM
flag allows more than one process to share a
.I semadj
list; see
-.BR clone (2)
+.MR clone 2
for details.
.P
The \fIsemval\fP, \fIsempid\fP, \fIsemzcnt\fP, and \fIsemnct\fP values
for a semaphore can all be retrieved using appropriate
-.BR semctl (2)
+.MR semctl 2
calls.
.SS Semaphore limits
The following limits on semaphore set resources affect the
@@ -511,13 +511,13 @@ if (semop(semid, sops, 2) == \-1) {
A further example of the use of
.BR semop ()
can be found in
-.BR shmop (2).
+.MR shmop 2 .
.SH SEE ALSO
-.BR clone (2),
-.BR semctl (2),
-.BR semget (2),
-.BR sigaction (2),
-.BR capabilities (7),
-.BR sem_overview (7),
-.BR sysvipc (7),
-.BR time (7)
+.MR clone 2 ,
+.MR semctl 2 ,
+.MR semget 2 ,
+.MR sigaction 2 ,
+.MR capabilities 7 ,
+.MR sem_overview 7 ,
+.MR sysvipc 7 ,
+.MR time 7