mirror of https://github.com/mkerrisk/man-pages
semctl.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5fe2d5b711
commit
27ab91ca6a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue