PUNLOCK(2) — Unix Programmer’s Manual
NAME
punlock − unlock the current process
SYNOPSIS
punlock()
DESCRIPTION
Punlock unlocks the current process from core. The process reverts to a normal, swappable, pageable process. This call has no effect if the process was not previously plocked.
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 punlock call should not fail.
SEE ALSO
plock(2), highpri(2), normalpri(2)
4th Berkeley Distribution — 1 August 1985