Manual Page Result
0
Command: sched_get_priority_min | Section: 3 | Source: OpenBSD | File: sched_get_priority_min.3
SCHED_GET_PRIORITY_MIN(3) FreeBSD Library Functions Manual
NAME
sched_get_priority_max, sched_get_priority_min - get priority limits
SYNOPSIS
#include <sched.h>
int
sched_get_priority_max(int policy);
int
sched_get_priority_min(int policy);
DESCRIPTION
The sched_get_priority_max() and sched_get_priority_min() functions
return the maximum and minimum priority values, respectively, for the
scheduling policy specified by policy.
The scheduling policy for a thread can either be SCHED_FIFO (first in,
first out), SCHED_RR (round-robin) or SCHED_OTHER.
RETURN VALUES
Upon successful completion, sched_get_priority_max() and
sched_get_priority_min() return the maximum and minimum priority values,
respectively. Otherwise, a value of -1 is returned and errno is set to
indicate the error.
ERRORS
The sched_get_priority_max() and sched_get_priority_min() functions will
fail if:
[EINVAL] Invalid value for policy.
STANDARDS
The sched_get_priority_max() and sched_get_priority_min() functions
conform to IEEE Std 1003.1-2008 ("POSIX.1").
This implementation does not support process scheduling.
FreeBSD 14.1-RELEASE-p8 June 5, 2013 FreeBSD 14.1-RELEASE-p8