## NAME

sched_get_priority_max, sched_get_priority_min - get priority limits

## SYNOPSIS

#include <sys.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 appropriate maximum or minimum for the scheduling policy specified by policy.

The policy must be

## RETURN VALUES

The value of the maximum or minimum priority is returned.

## ERRORS

None
  The policy is ignored given that there is only one policy in the kernel.

## SEE ALSO

pthread_getprio(), pthread_setprio()

#### Home page (Kernel)

## < Copyright Rowebots Research Inc. and Multiprocessor Toolsmiths Inc. 1987-2018 >