lock(2) v7 man page | unix.com

Man Page: lock

Operating Environment: v7

Section: 2

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
lock(2) - plan9
shlock(1) - suse
shlock(1) - bsd
shlock(1) - centos
shlock(1) - hpux
Similar Topics in the Unix Linux Community
Delete a block of text delimited by blank lines when pattern is found
Command rm deletes filename but not the blocks
Transpose info that is within blocks
Extracting a block of text from a large file using variables?
Help with Reviving a NETRA240 Pls?