SYNOPSIS

DESCRIPTION

sched_setparam()
sets the scheduling parameters associated with the scheduling policy
for the process identified by pid.
If pid is zero, then
the parameters of the calling process are set.
The interpretation of
the argument param depends on the scheduling
policy of the process identified by
pid.
See
sched_setscheduler(2)
for a description of the scheduling policies supported under Linux.

sched_getparam()
retrieves the scheduling parameters for the
process identified by pid.
If pid is zero, then the parameters
of the calling process are retrieved.