diff --git a/man2/msgctl.2 b/man2/msgctl.2 index 85abcc520..5c2ddf23f 100644 --- a/man2/msgctl.2 +++ b/man2/msgctl.2 @@ -47,7 +47,7 @@ msgctl \- message control operations .BI "int " cmd , .BI "struct msqid_ds *" buf ); .SH DESCRIPTION -.B msgctl +.BR msgctl () performs the control operation specified by .I cmd on the message queue with identifier diff --git a/man2/semctl.2 b/man2/semctl.2 index 5bb5fdbe3..9d69dcb3f 100644 --- a/man2/semctl.2 +++ b/man2/semctl.2 @@ -46,7 +46,7 @@ semctl \- semaphore control operations .BI "int semctl(int " semid ", int " semnum ", int " cmd ", ...);" .fi .SH DESCRIPTION -.B semctl +.BR semctl () performs the control operation specified by .I cmd on the semaphore set identified by @@ -156,8 +156,9 @@ calls on the set (with an error return and .I errno set to .BR EIDRM ). -The effective user\-ID of the calling process must be that of the -superuser, or match the creator or owner of the semaphore set. +The effective user\-ID of the calling process must +match the creator or owner of the semaphore set, +or the caller must be privileged. The argument .I semnum is ignored. @@ -263,7 +264,7 @@ 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" On failure -.B semctl +.BR semctl () returns \-1 with .I errno @@ -389,7 +390,7 @@ the macro is defined in . .PP The following system limit on semaphore sets affects a -.B semctl +.BR semctl () call: .TP 11 .B SEMVMX @@ -398,11 +399,11 @@ Maximum value for implementation dependent (32767). .LP For greater portability it is best to always call -.B semctl +.BR semctl () with four arguments. .LP Under Linux, -.B semctl +.BR semctl () is not a system call, but is implemented via the system call .BR ipc (2). .SH "CONFORMING TO" diff --git a/man2/semget.2 b/man2/semget.2 index 4b9ad5fe4..0d91fc4db 100644 --- a/man2/semget.2 +++ b/man2/semget.2 @@ -59,7 +59,7 @@ semaphores is created if .I key has the value .B IPC_PRIVATE -or if no existing semaphore set is associated to +or if no existing semaphore set is associated with .I key and .B IPC_CREAT @@ -218,7 +218,7 @@ the system call ignores everything but the least significant 9 bits of .I semflg and creates a new semaphore set (on success). .PP -The followings are limits on semaphore set resources affecting a +The following limits on semaphore set resources affect the .BR semget () call: .TP 11 diff --git a/man2/semop.2 b/man2/semop.2 index 02e720677..9a3c398fe 100644 --- a/man2/semop.2 +++ b/man2/semop.2 @@ -416,7 +416,7 @@ for a semaphore can all be retrieved using appropriate .BR semctl (2) calls. .PP -The followings are limits on semaphore set resources affecting a +The following limits on semaphore set resources affect the .BR semop () call: .TP diff --git a/man2/shmctl.2 b/man2/shmctl.2 index daf16fef6..9770130be 100644 --- a/man2/shmctl.2 +++ b/man2/shmctl.2 @@ -48,7 +48,7 @@ shmctl \- shared memory control .BI "int shmctl(int " shmid ", int " cmd ", struct shmid_ds *" buf ); .ad b .SH DESCRIPTION -\fBshmctl()\fP +.BR shmctl () allows the caller to obtain information about a shared memory segment, set the owner, group, and permissions of a segment, or destroy a segment. diff --git a/man2/shmget.2 b/man2/shmget.2 index e75bf2894..511e261fe 100644 --- a/man2/shmget.2 +++ b/man2/shmget.2 @@ -223,7 +223,7 @@ the system call ignores everything but the least significant 9 bits of .I shmflg and creates a new shared memory segment (on success). .PP -The followings are limits on shared memory segment resources affecting a +The following limits on shared memory segment resources affect the .BR shmget () call: .TP 11 diff --git a/man2/times.2 b/man2/times.2 index 0d5e92c60..57112a8ed 100644 --- a/man2/times.2 +++ b/man2/times.2 @@ -99,8 +99,8 @@ All times reported are in clock ticks. returns the number of clock ticks that have elapsed since an arbitrary point in the past. For Linux 2.4 and earlier this point is the moment the system was booted. -Since Linux 2.6, this point is (2^32/HZ) - 300 (i.e., about 429 million) -seconds before system boot time. +Since Linux 2.6, this point is \fI(2^32/HZ) - 300\fP +(i.e., about 429 million) seconds before system boot time. The return value may overflow the possible range of type .I clock_t. On error, \fI(clock_t) \-1\fP is returned, and diff --git a/man2/wait4.2 b/man2/wait4.2 index 9a03c6ae3..ead2e0f6d 100644 --- a/man2/wait4.2 +++ b/man2/wait4.2 @@ -110,14 +110,10 @@ See for details. .SH "RETURN VALUE" As for -.BR waitpid (2); -see -.BR wait (2). +.BR waitpid (2). .SH ERRORS As for -.BR waitpid (2); -see -.BR wait (2). +.BR waitpid (2). .SH NOTES Including .I