sched_setscheduler

Name

sched_setscheduler -- set scheduling policy and parameters

Synopsis

#include <sched.h>

int sched_setscheduler(pid_t pid, int policy, const struct sched_param * param);

Description

The sched_setscheduler() shall behave as described in POSIX 1003.1-2001 (ISO/IEC 9945-2003), except as noted below.

Return Value

On success, 0 is returned instead of the former scheduling policy.