mirror of https://github.com/mkerrisk/man-pages
sched_rr_get_interval.2: srcfix: Changed in-line formatting to dot directives
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
4e2621b57e
commit
ca016ea98b
|
@ -36,13 +36,19 @@ sched_rr_get_interval \- get the SCHED_RR interval for the named process
|
||||||
.BI "int sched_rr_get_interval(pid_t " pid ", struct timespec * " tp );
|
.BI "int sched_rr_get_interval(pid_t " pid ", struct timespec * " tp );
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR sched_rr_get_interval ()
|
.BR sched_rr_get_interval ()
|
||||||
writes into the \fItimespec\fP structure pointed to by \fItp\fP the
|
writes into the
|
||||||
round-robin time quantum for the process identified by \fIpid\fP.
|
.I timespec
|
||||||
|
structure pointed to by
|
||||||
|
.I tp
|
||||||
|
the round-robin time quantum for the process identified by
|
||||||
|
.IR pid .
|
||||||
The specified process should be running under the
|
The specified process should be running under the
|
||||||
.B SCHED_RR
|
.B SCHED_RR
|
||||||
scheduling policy.
|
scheduling policy.
|
||||||
|
|
||||||
The \fItimespec\fP structure has the following form:
|
The
|
||||||
|
.I timespec
|
||||||
|
structure has the following form:
|
||||||
|
|
||||||
.in +4n
|
.in +4n
|
||||||
.nf
|
.nf
|
||||||
|
@ -54,8 +60,9 @@ struct timespec {
|
||||||
.in
|
.in
|
||||||
|
|
||||||
If
|
If
|
||||||
\fIpid\fP is zero, the time quantum for the calling process is written
|
.I pid
|
||||||
into \fI*tp\fP.
|
is zero, the time quantum for the calling process is written into
|
||||||
|
.IR *tp .
|
||||||
.\" FIXME . On Linux, sched_rr_get_interval()
|
.\" FIXME . On Linux, sched_rr_get_interval()
|
||||||
.\" returns the timeslice for SCHED_OTHER processes -- this timeslice
|
.\" returns the timeslice for SCHED_OTHER processes -- this timeslice
|
||||||
.\" is influenced by the nice value.
|
.\" is influenced by the nice value.
|
||||||
|
@ -83,7 +90,9 @@ Invalid pid.
|
||||||
The system call is not yet implemented (only on rather old kernels).
|
The system call is not yet implemented (only on rather old kernels).
|
||||||
.TP
|
.TP
|
||||||
.B ESRCH
|
.B ESRCH
|
||||||
The process whose ID is \fIpid\fP could not be found.
|
The process whose ID is
|
||||||
|
.I pid
|
||||||
|
could not be found.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
POSIX.1-2001.
|
POSIX.1-2001.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
|
@ -91,7 +100,8 @@ POSIX systems on which
|
||||||
.BR sched_rr_get_interval ()
|
.BR sched_rr_get_interval ()
|
||||||
is available define
|
is available define
|
||||||
.B _POSIX_PRIORITY_SCHEDULING
|
.B _POSIX_PRIORITY_SCHEDULING
|
||||||
in \fI<unistd.h>\fP.
|
in
|
||||||
|
.IR <unistd.h> .
|
||||||
.SS Linux Notes
|
.SS Linux Notes
|
||||||
.\" FIXME
|
.\" FIXME
|
||||||
.\" From at least Linux 2.6.9, the following is no longer true
|
.\" From at least Linux 2.6.9, the following is no longer true
|
||||||
|
|
Loading…
Reference in New Issue