table of contents
other versions
- wheezy 3.44-1
- jessie 3.74-1
- jessie-backports 4.10-2~bpo8+1
- testing 4.10-2
- unstable 4.10-2
other sections
SCHED_GET_PRIORITY_MAX(2) | Linux Programmer's Manual | SCHED_GET_PRIORITY_MAX(2) |
NAME¶
sched_get_priority_max, sched_get_priority_min - get static priority rangeSYNOPSIS¶
#include <sched.h>DESCRIPTION¶
sched_get_priority_max() returns the maximum priority value that can be used with the scheduling algorithm identified by policy. sched_get_priority_min() returns the minimum priority value that can be used with the scheduling algorithm identified by policy. Supported policy values are SCHED_FIFO, SCHED_RR, SCHED_OTHER, and SCHED_BATCH. Further details about these policies can be found in sched_setscheduler(2).RETURN VALUE¶
On success, sched_get_priority_max() and sched_get_priority_min() return the maximum/minimum priority value for the named scheduling policy. On error, -1 is returned, and errno is set appropriately.ERRORS¶
- EINVAL
- The argument policy does not identify a defined scheduling policy.
CONFORMING TO¶
POSIX.1-2001.SEE ALSO¶
sched_getaffinity(2), sched_getparam(2), sched_getscheduler(2), sched_setaffinity(2), sched_setparam(2), sched_setscheduler(2) Programming for the real world - POSIX.4 by Bill O. Gallmeister, O'Reilly & Associates, Inc., ISBN 1-56592-074-0.COLOPHON¶
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.2006-03-23 | Linux |