This routine returns the maximum priority for the scheduling
policy specified in the policy argument. The argument value
must be one of the scheduling policies (SCHED_FIFO, SCHED_RR,
or SCHED_OTHER), as defined in the sched.h header file.
No special privileges are required to use this routine.