|
NAMEsched_get_priority_max ,
sched_get_priority_min ,
sched_rr_get_interval —
get scheduling parameter limits
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <sched.h>
int
int
int
DESCRIPTIONThesched_get_priority_max () and
sched_get_priority_min () system calls return the
appropriate maximum or minimum, respectively, for the scheduling policy
specified by policy. The
sched_rr_get_interval () system call updates the
timespec structure referenced by the
interval argument to contain the current execution time
limit (i.e., time quantum) for the process specified by
pid. If pid is zero, the current
execution time limit for the calling process is returned.
The value of policy should be one of the scheduling policy values defined in <sched.h>:
RETURN VALUESIf successful, thesched_get_priority_max () and
sched_get_priority_min () system calls shall return the
appropriate maximum or minimum values, respectively. If unsuccessful, they
shall return a value of -1 and set errno to indicate the
error.
ERRORSOn failure errno will be set to the corresponding value:
SEE ALSOsched_getparam(2), sched_getscheduler(2), sched_setparam(2), sched_setscheduler(2)STANDARDSThesched_get_priority_max (),
sched_get_priority_min (), and
sched_rr_get_interval () system calls conform to
IEEE Std 1003.1b-1993 (“POSIX.1b”).
Visit the GSP FreeBSD Man Page Interface. |