V7M/man/man2/lock.2

Compare this file to the similar file:
Show the results in this format:

.TH LOCK 2 local
.SH NAME
lock \- lock a process in primary memory
.SH SYNOPSIS
.B lock(flag)
.SH DESCRIPTION
If the
.I flag
argument is non-zero,
the process executing this call
will not be swapped except if it is required
to grow.
If the argument is zero,
the process is
.RI un lock ed.
This call may only be executed by
the super-user.
.SH BUGS
.IR Lock ed
processes interfere with the compaction of primary memory
and can cause deadlock.
This system call is not considered
a permanent part of the system.
.SH ASSEMBLER
(lock = 53.)
.br
.B sys lock; flag