Unix/Linux Go Back    

BSD 2.11 - man page for lock (bsd section 2)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

LOCK(2) 										  LOCK(2)

       lock - lock a process in primary memory (2BSD)

       int flag

       If  the	flag  argument	is  non-zero, 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.

       [EPERM]	      The caller is not the super-user.

       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.

       Lock is unique to the PDP-11 and 2BSD; its use is discouraged.

3rd Berkeley Distribution		 January 22, 1987				  LOCK(2)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 07:58 AM.