aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-04-05 12:50:59 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-04-05 12:50:59 +0000
commit1bef0ec2656f45fa7bee0ac03103eb5ea920ae8e (patch)
treeae48ded0360a1cf309ab54d35ee06046a3bc0d1e
parentcf0a9ace579bbce17142667d4712e0b5bdc0da20 (diff)
downloadman-pages-1bef0ec2656f45fa7bee0ac03103eb5ea920ae8e.tar.gz
Moved timespec definition from SYNOPSIS into description.
-rw-r--r--man2/sched_rr_get_interval.222
1 files changed, 12 insertions, 10 deletions
diff --git a/man2/sched_rr_get_interval.2 b/man2/sched_rr_get_interval.2
index f09df64f94..86257bd6a5 100644
--- a/man2/sched_rr_get_interval.2
+++ b/man2/sched_rr_get_interval.2
@@ -34,19 +34,21 @@ sched_rr_get_interval \- get the SCHED_RR interval for the named process
.B #include <sched.h>
.sp
\fBint sched_rr_get_interval(pid_t \fIpid\fB, struct timespec *\fItp\fB);
-.sp
-.nf
-.ta 4n 12n 24n
-\fBstruct timespec {
- time_t tv_sec; /* seconds */
- long tv_nsec; /* nanoseconds */
-};
-.ta
-.fi
.SH DESCRIPTION
.BR sched_rr_get_interval ()
writes into the \fItimespec\fR structure pointed to by \fItp\fR the
-round robin time quantum for the process identified by \fIpid\fR. If
+round robin time quantum for the process identified by \fIpid\fR.
+
+The \fItimespec\fR structure has the following form:
+
+.nf
+struct timespec {
+ time_t tv_sec; /* seconds */
+ long tv_nsec; /* nanoseconds */
+};
+.fi
+
+If
\fIpid\fR is zero, the time quantum for the calling process is written
into *\fItp\fR. The identified process should be running under the
.I SCHED_RR