diff options
Diffstat (limited to 'man2/semctl.2')
-rw-r--r-- | man2/semctl.2 | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/man2/semctl.2 b/man2/semctl.2 index 2dcb63559..f42c2ac0d 100644 --- a/man2/semctl.2 +++ b/man2/semctl.2 @@ -89,7 +89,7 @@ set. .TP .I sem_otime Time of last -.BR semop (2) +.MR semop 2 system call. .TP .I sem_ctime @@ -192,7 +192,7 @@ is ignored. .B IPC_RMID Immediately remove the semaphore set, awakening all processes blocked in -.BR semop (2) +.MR semop 2 calls on the set (with an error return and .I errno set to @@ -249,7 +249,7 @@ and settings can be changed via .IR /proc/sys/kernel/sem ; see -.BR proc (5) +.MR proc 5 for details. .TP .BR SEM_INFO " (Linux-specific)" @@ -348,10 +348,10 @@ member of the .I semid_ds structure associated with the set. Undo entries (see -.BR semop (2)) +.MR semop 2 ) are cleared for altered semaphores in all processes. If the changes to semaphore values would permit blocked -.BR semop (2) +.MR semop 2 calls in other processes to proceed, then those processes are woken up. The argument .I semnum @@ -373,7 +373,7 @@ member of the structure associated with the set. Undo entries are cleared for altered semaphores in all processes. If the changes to semaphore values would permit blocked -.BR semop (2) +.MR semop 2 calls in other processes to proceed, then those processes are woken up. The calling process must have alter permission on the semaphore set. .SH RETURN VALUE @@ -521,7 +521,7 @@ POSIX.1 defines .I sempid as the "process ID of [the] last operation" on a semaphore, and explicitly notes that this value is set by a successful -.BR semop (2) +.MR semop 2 call, with the implication that no other interface affects the .I sempid value. @@ -542,7 +542,7 @@ operations, as well as the semaphore adjustments performed on process termination as a consequence of the use of the .B SEM_UNDO flag (see -.BR semop (2)). +.MR semop 2 ). .P Linux also updates .I sempid @@ -593,7 +593,7 @@ The and .B SEM_INFO operations are used by the -.BR ipcs (1) +.MR ipcs 1 program to provide information on allocated resources. In the future these may modified or moved to a .I /proc @@ -613,11 +613,11 @@ For greater portability, it is best to always call with four arguments. .SH EXAMPLES See -.BR shmop (2). +.MR shmop 2 . .SH SEE ALSO -.BR ipc (2), -.BR semget (2), -.BR semop (2), -.BR capabilities (7), -.BR sem_overview (7), -.BR sysvipc (7) +.MR ipc 2 , +.MR semget 2 , +.MR semop 2 , +.MR capabilities 7 , +.MR sem_overview 7 , +.MR sysvipc 7 |