mirror of https://github.com/mkerrisk/man-pages
ioprio_set.2: Document who==0 for IOPRIO_WHO_PROCESS and IOPRIO_WHO_PGRP
For IOPRIO_WHO_PROCESS, who==0 means operate on the caller. For IOPRIO_WHO_PGRP, who==0 means operate on the caller's process group. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652443 Reported-by: Марк Коренберг <socketpair@gmail.com> Reported-by: Kalle Olavi Niemitalo <kon@iki.fi> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c4949ba488
commit
82fdd7c7d0
|
@ -56,15 +56,23 @@ is interpreted, and has one of the following values:
|
||||||
.B IOPRIO_WHO_PROCESS
|
.B IOPRIO_WHO_PROCESS
|
||||||
.I who
|
.I who
|
||||||
is a process ID or thread ID identifying a single process or thread.
|
is a process ID or thread ID identifying a single process or thread.
|
||||||
|
If
|
||||||
|
.I who
|
||||||
|
is 0, then operate on the calling thread.
|
||||||
.TP
|
.TP
|
||||||
.B IOPRIO_WHO_PGRP
|
.B IOPRIO_WHO_PGRP
|
||||||
.I who
|
.I who
|
||||||
is a process group ID identifying all the members of a process group.
|
is a process group ID identifying all the members of a process group.
|
||||||
|
If
|
||||||
|
.I who
|
||||||
|
is 0, then operate on the process group of which the caller is a member.
|
||||||
.TP
|
.TP
|
||||||
.B IOPRIO_WHO_USER
|
.B IOPRIO_WHO_USER
|
||||||
.I who
|
.I who
|
||||||
is a user ID identifying all of the processes that
|
is a user ID identifying all of the processes that
|
||||||
have a matching real UID.
|
have a matching real UID.
|
||||||
|
.\" FIXME who==0 needs to be documented,
|
||||||
|
.\" See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652443
|
||||||
.PP
|
.PP
|
||||||
If
|
If
|
||||||
.I which
|
.I which
|
||||||
|
|
Loading…
Reference in New Issue