Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lock(2XNX) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       lock(2XNX)          (XENIX System Compatibility)          lock(2XNX)


       NAME
             lock - (XENIX) lock a process in primary memory

       SYNOPSIS
             cc [flag . . . ] file . . . -lx
             int lock(int flag);

       DESCRIPTION
             If the flag argument is nonzero, the process executing this
             call will not be swapped unless it is required to grow.  If
             the argument is zero, the process is unlocked.  This call may
             only be executed by the super-user.  If someone other than the
             super-user tries to execute this call, a value of -1 is
             returned and the errno is set to EPERM.


































                           Copyright 1994 Novell, Inc.               Page 1








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026