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.
|
is ignored.
|
||||||
.TP
|
.TP
|
||||||
.BR IPC_INFO " (Linux-specific)"
|
.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
|
parameters in the structure pointed to by
|
||||||
.IR arg.__buf .
|
.IR arg.__buf .
|
||||||
This structure is of type
|
This structure is of type
|
||||||
|
@ -216,7 +216,7 @@ see
|
||||||
for details.
|
for details.
|
||||||
.TP
|
.TP
|
||||||
.BR SEM_INFO " (Linux-specific)"
|
.BR SEM_INFO " (Linux-specific)"
|
||||||
Returns a
|
Return a
|
||||||
.I seminfo
|
.I seminfo
|
||||||
structure containing the same information as for
|
structure containing the same information as for
|
||||||
.BR IPC_INFO ,
|
.BR IPC_INFO ,
|
||||||
|
@ -230,7 +230,7 @@ field returns the total number of semaphores in all semaphore sets
|
||||||
on the system.
|
on the system.
|
||||||
.TP
|
.TP
|
||||||
.BR SEM_STAT " (Linux-specific)"
|
.BR SEM_STAT " (Linux-specific)"
|
||||||
Returns a
|
Return a
|
||||||
.I semid_ds
|
.I semid_ds
|
||||||
structure as for
|
structure as for
|
||||||
.BR IPC_STAT .
|
.BR IPC_STAT .
|
||||||
|
@ -252,7 +252,7 @@ is ignored.
|
||||||
The calling process must have read permission on the semaphore set.
|
The calling process must have read permission on the semaphore set.
|
||||||
.TP
|
.TP
|
||||||
.B GETNCNT
|
.B GETNCNT
|
||||||
The system call returns the value of
|
Return the value of
|
||||||
.B semncnt
|
.B semncnt
|
||||||
for the
|
for the
|
||||||
.IR semnum \-th
|
.IR semnum \-th
|
||||||
|
@ -265,7 +265,7 @@ semaphore of the set).
|
||||||
The calling process must have read permission on the semaphore set.
|
The calling process must have read permission on the semaphore set.
|
||||||
.TP
|
.TP
|
||||||
.B GETPID
|
.B GETPID
|
||||||
The system call returns the value of
|
Return the value of
|
||||||
.B sempid
|
.B sempid
|
||||||
for the
|
for the
|
||||||
.IR semnum \-th
|
.IR semnum \-th
|
||||||
|
@ -278,7 +278,7 @@ semaphore of the set).
|
||||||
The calling process must have read permission on the semaphore set.
|
The calling process must have read permission on the semaphore set.
|
||||||
.TP
|
.TP
|
||||||
.B GETVAL
|
.B GETVAL
|
||||||
The system call returns the value of
|
Return the value of
|
||||||
.B semval
|
.B semval
|
||||||
for the
|
for the
|
||||||
.IR semnum \-th
|
.IR semnum \-th
|
||||||
|
@ -286,7 +286,7 @@ semaphore of the set.
|
||||||
The calling process must have read permission on the semaphore set.
|
The calling process must have read permission on the semaphore set.
|
||||||
.TP
|
.TP
|
||||||
.B GETZCNT
|
.B GETZCNT
|
||||||
The system call returns the value of
|
Return the value of
|
||||||
.B semzcnt
|
.B semzcnt
|
||||||
for the
|
for the
|
||||||
.IR semnum \-th
|
.IR semnum \-th
|
||||||
|
|
Loading…
Reference in New Issue