HIGHPRI(2) — Unix Programmer’s Manual
NAME
highpri − make the current process a high priority process
SYNOPSIS
highpri()
DESCRIPTION
Highpri makes the current process a high priority process. It is scheduled before any of the normal priority processes.
This call can be executed only by the super user.
RETURN VALUE
Zero is returned if the operation was successful; on an error, −1 is returned and an error code is left in the global location errno.
ERRORS
The highpri call fails if:
[EPERM] The caller is not the super-user.
SEE ALSO
plock(2), punlock(2), normalpri(2)
4th Berkeley Distribution — 1 August 1985