.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SYS_SCHED_RR_GET_INTERVAL" "" "06 October 2005" "" ""
.SH NAME
sys_sched_rr_get_interval \- return the default timeslice of a process.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
asmlinkage long sys_sched_rr_get_interval (pid_t \fIpid\fB, struct timespec __user * \fIinterval\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpid\fB\fR
pid of the process.
.TP
\fB\fIinterval\fB\fR
userspace pointer to the timeslice value.
.SH "DESCRIPTION"
.PP
this syscall writes the default timeslice value of a given process
into the user-space timespec buffer. A value of '0' means infinity.