mirror of https://github.com/mkerrisk/man-pages
sched_rr_get_interval.2: Reordered various pieces of text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a1712680c4
commit
4e2621b57e
|
@ -27,7 +27,7 @@
|
|||
.\" 1996-04-10 Markus Kuhn <mskuhn@cip.informatik.uni-erlangen.de>
|
||||
.\" revision
|
||||
.\"
|
||||
.TH SCHED_RR_GET_INTERVAL 2 2007-04-06 "Linux" "Linux Programmer's Manual"
|
||||
.TH SCHED_RR_GET_INTERVAL 2 2011-10-16 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
sched_rr_get_interval \- get the SCHED_RR interval for the named process
|
||||
.SH SYNOPSIS
|
||||
|
@ -38,6 +38,9 @@ sched_rr_get_interval \- get the SCHED_RR interval for the named process
|
|||
.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.
|
||||
The specified process should be running under the
|
||||
.B SCHED_RR
|
||||
scheduling policy.
|
||||
|
||||
The \fItimespec\fP structure has the following form:
|
||||
|
||||
|
@ -53,9 +56,6 @@ struct timespec {
|
|||
If
|
||||
\fIpid\fP is zero, the time quantum for the calling process is written
|
||||
into \fI*tp\fP.
|
||||
The identified process should be running under the
|
||||
.B SCHED_RR
|
||||
scheduling policy.
|
||||
.\" FIXME . On Linux, sched_rr_get_interval()
|
||||
.\" returns the timeslice for SCHED_OTHER processes -- this timeslice
|
||||
.\" is influenced by the nice value.
|
||||
|
@ -64,11 +64,6 @@ scheduling policy.
|
|||
.\" The round-robin time quantum value is not alterable under Linux
|
||||
.\" 1.3.81.
|
||||
.\"
|
||||
POSIX systems on which
|
||||
.BR sched_rr_get_interval ()
|
||||
is available define
|
||||
.B _POSIX_PRIORITY_SCHEDULING
|
||||
in \fI<unistd.h>\fP.
|
||||
.SH "RETURN VALUE"
|
||||
On success,
|
||||
.BR sched_rr_get_interval ()
|
||||
|
@ -92,6 +87,11 @@ The process whose ID is \fIpid\fP could not be found.
|
|||
.SH "CONFORMING TO"
|
||||
POSIX.1-2001.
|
||||
.SH NOTES
|
||||
POSIX systems on which
|
||||
.BR sched_rr_get_interval ()
|
||||
is available define
|
||||
.B _POSIX_PRIORITY_SCHEDULING
|
||||
in \fI<unistd.h>\fP.
|
||||
.SS Linux Notes
|
||||
.\" FIXME
|
||||
.\" From at least Linux 2.6.9, the following is no longer true
|
||||
|
|
Loading…
Reference in New Issue