Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!pmafire!uudell!bigtex!texsun!csccat!dalnet!dlss2!james From: james@dlss2.UUCP (James Cummings) Newsgroups: comp.unix.questions Subject: Re: plock() Keywords: System V, 3B2, C Message-ID: <129@dlss2.UUCP> Date: 10 Dec 90 13:30:31 GMT References: Reply-To: james@dlss2.UUCP (James Cummings) Distribution: usa Organization: RedRock Development Lines: 17 SYSNOPIS #include int plock(op) int op; DESCRIPTION plock allows the calling process to lock its text segment (text lock), its data segment (datalock), or both its text and data segments (process lock) into memory. Locked segments are immune to all routine swapping. plock also allows these segments to be unlocked. The effective user ID of the calling process must be super-user to use this call Op specifies the following: PROCLOCK - process lock TXTLOCK - text lock DATLOCK - data lock UNLOCK - remove locks Hope that helps.