v7 man page for lock

Query: lock

OS: v7

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

LOCK(2) 							System Calls Manual							   LOCK(2)

NAME
lock - lock a process in primary memory
SYNOPSIS
lock(flag)
DESCRIPTION
If the 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 unlocked. This call may only be executed by the super-user.
BUGS
Locked processes interfere with the compaction of primary memory and can cause deadlock. This system call is not considered a permanent part of the system.
ASSEMBLER
(lock = 53.) sys lock; flag local LOCK(2)
Related Man Pages
shlock(1) - redhat
plock(2) - hpux
plock(3c) - netbsd
shlock(1) - bsd
shlock(1) - hpux
Similar Topics in the Unix Linux Community
Unable to run xclock
Remove a block of Text at regular intervals
Get values block by block in same file
Sed: -e expression #1, char 16: unterminated address regex
Sorting blocks by a section of the identifier