cap_schedctl(3N)

cap_schedctl - alter scheduling parameters

As shipped in IRIX 6.5.15. 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).