cap_schedctl(3N)

cap_schedctl - alter scheduling parameters

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     cap_schedctl - alter scheduling parameters

SYNOPSIS
     #include <cap_net.h>

     ptrdiff_t cap_schedctl(int cmd, ...);

DESCRIPTION
     cap_schedctl asserts appropriate privilege when altering the scheduling
     parameters of a process.

     If _POSIX_CAP is in effect, a process calling this function should have
     CAP_SCHED_MGT capability in the permitted vector of its capability set.

RETURN VALUES
     cap_schedctl returns 0 if successful, -1 otherwise.

ERRORS
     cap_schedctl has the same error codes as schedctl(2).

SEE ALSO
     capability(4), schedctl(2), sysconf(3c).