semctl.2: grfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-28 09:26:06 +02:00
parent 5fe2d5b711
commit 27ab91ca6a
1 changed files with 3 additions and 3 deletions

View File

@ -338,14 +338,14 @@ If the changes to semaphore values would permit blocked
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
On failure,
.BR semctl ()
returns \-1
with
.I errno
indicating the error.
Otherwise the system call returns a nonnegative value depending on
Otherwise, the system call returns a nonnegative value depending on
.I cmd
as follows:
.TP 12
@ -530,7 +530,7 @@ Maximum value for
.BR semval :
implementation dependent (32767).
.LP
For greater portability it is best to always call
For greater portability, it is best to always call
.BR semctl ()
with four arguments.
.SH SEE ALSO