cap_schedctl - alter scheduling parameters
ptrdiff_t cap_schedctl(int cmd, ...);
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.
cap_schedctl returns 0 if successful, -1 otherwise.
cap_schedctl has the same error codes as schedctl(2).
capability(4), schedctl(2), sysconf(3c).
PPPPaaaaggggeeee 1111 [ Back ]