GETPRIO(2)
NAME
getprio − return the scheduling priority of a given process
SYNOPSIS
int getprio(pid)
int pid;
DESCRIPTION
Getprio returns the scheduling priority of process pid. If pid is invalid, getprio returns SYSERR.
December 01, 1986 — Xinu Programmer’s Manual