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:
Michael Kerrisk 2011-10-16 06:50:04 +02:00
parent 4e2621b57e
commit ca016ea98b
1 changed files with 17 additions and 7 deletions

View File

@ -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 );
.SH DESCRIPTION
.BR sched_rr_get_interval ()
writes into the \fItimespec\fP structure pointed to by \fItp\fP the
round-robin time quantum for the process identified by \fIpid\fP.
writes into the
.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
.B SCHED_RR
scheduling policy.
The \fItimespec\fP structure has the following form:
The
.I timespec
structure has the following form:
.in +4n
.nf
@ -54,8 +60,9 @@ struct timespec {
.in
If
\fIpid\fP is zero, the time quantum for the calling process is written
into \fI*tp\fP.
.I pid
is zero, the time quantum for the calling process is written into
.IR *tp .
.\" FIXME . On Linux, sched_rr_get_interval()
.\" returns the timeslice for SCHED_OTHER processes -- this timeslice
.\" is influenced by the nice value.
@ -83,7 +90,9 @@ Invalid pid.
The system call is not yet implemented (only on rather old kernels).
.TP
.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"
POSIX.1-2001.
.SH NOTES
@ -91,7 +100,8 @@ POSIX systems on which
.BR sched_rr_get_interval ()
is available define
.B _POSIX_PRIORITY_SCHEDULING
in \fI<unistd.h>\fP.
in
.IR <unistd.h> .
.SS Linux Notes
.\" FIXME
.\" From at least Linux 2.6.9, the following is no longer true