mirror of https://github.com/mkerrisk/man-pages
semctl.2: Minor wording fixes
Employ a consistent voice in discussing the various 'cmd' values. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2177a367f2
commit
5fe2d5b711
|
@ -168,7 +168,7 @@ The argument
|
|||
is ignored.
|
||||
.TP
|
||||
.BR IPC_INFO " (Linux-specific)"
|
||||
Returns information about system-wide semaphore limits and
|
||||
Return information about system-wide semaphore limits and
|
||||
parameters in the structure pointed to by
|
||||
.IR arg.__buf .
|
||||
This structure is of type
|
||||
|
@ -216,7 +216,7 @@ see
|
|||
for details.
|
||||
.TP
|
||||
.BR SEM_INFO " (Linux-specific)"
|
||||
Returns a
|
||||
Return a
|
||||
.I seminfo
|
||||
structure containing the same information as for
|
||||
.BR IPC_INFO ,
|
||||
|
@ -230,7 +230,7 @@ field returns the total number of semaphores in all semaphore sets
|
|||
on the system.
|
||||
.TP
|
||||
.BR SEM_STAT " (Linux-specific)"
|
||||
Returns a
|
||||
Return a
|
||||
.I semid_ds
|
||||
structure as for
|
||||
.BR IPC_STAT .
|
||||
|
@ -252,7 +252,7 @@ is ignored.
|
|||
The calling process must have read permission on the semaphore set.
|
||||
.TP
|
||||
.B GETNCNT
|
||||
The system call returns the value of
|
||||
Return the value of
|
||||
.B semncnt
|
||||
for the
|
||||
.IR semnum \-th
|
||||
|
@ -265,7 +265,7 @@ semaphore of the set).
|
|||
The calling process must have read permission on the semaphore set.
|
||||
.TP
|
||||
.B GETPID
|
||||
The system call returns the value of
|
||||
Return the value of
|
||||
.B sempid
|
||||
for the
|
||||
.IR semnum \-th
|
||||
|
@ -278,7 +278,7 @@ semaphore of the set).
|
|||
The calling process must have read permission on the semaphore set.
|
||||
.TP
|
||||
.B GETVAL
|
||||
The system call returns the value of
|
||||
Return the value of
|
||||
.B semval
|
||||
for the
|
||||
.IR semnum \-th
|
||||
|
@ -286,7 +286,7 @@ semaphore of the set.
|
|||
The calling process must have read permission on the semaphore set.
|
||||
.TP
|
||||
.B GETZCNT
|
||||
The system call returns the value of
|
||||
Return the value of
|
||||
.B semzcnt
|
||||
for the
|
||||
.IR semnum \-th
|
||||
|
|
Loading…
Reference in New Issue