Standard C Library Functions schedgetprioritymax(3C)
NAME
schedgetprioritymax, schedgetprioritymin - get
scheduling parameter limits
SYNOPSIS
#include
int schedgetprioritymax(int policy);
int schedgetprioritymin(int policy);
DESCRIPTION
The schedgetprioritymax() and schedgetprioritymin()
functions return the appropriate maximum or minimum,
respectfully, for the scheduling policy specified by policy.
The value of policy is one of the scheduling policy values
defined in .
RETURN VALUES
If successful, the schedgetprioritymax() and
schedgetprioritymin() functions return the appropriate
maximum or minimum priority values, respectively. If unsuc-
cessful, they return -1 and set errno to indicate the error.
ERORS
The schedgetprioritymax() and schedgetprioritymin()
functions will fail if:
EINVAL The value of the policy parameter does not
represent a defined scheduling policy.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 1 Apr 2008 1
Standard C Library Functions schedgetprioritymax(3C)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
Standard See standards(5).
SEE ALSO
librt(3LIB), sched.h(3HEAD), schedgetparam(3C),
schedsetparam(3C), schedgetscheduler(3C),
schedrrgetinterval(3C), schedsetscheduler(3C),
time.h(3HEAD), attributes(5), standards(5)
SunOS 5.11 Last change: 1 Apr 2008 2
|