Path: utzoo!attcan!uunet!ingr!crossgl From: crossgl@ingr.UUCP (Gordon Cross) Newsgroups: comp.unix.wizards Subject: Re: Shared memory Summary: lock shared mem segment in core with shmctl(2) Keywords: shared, memory, non-swappable Message-ID: <3007@ingr.UUCP> Date: 23 Nov 88 19:29:43 GMT References: <22739@cci632.UUCP> Organization: Intergraph Corp. Huntsville, Al Lines: 13 In article <22739@cci632.UUCP>, rrw@cci632.UUCP (Rick Wessman) writes: > Does anyone know if non-swappable shared memory is supported by > System V? I need to know because some of our applications developers > want it. Our sister division in California supports it, but I cannot > find documentation for it in the SVID. Yes it is. Try "shmctl (shmid, SHM_LOCK)" to lock a shared memory segment in core. You must be superuser to do this (for obvious reasons). Gordon Cross Intergraph Corp. Huntsville, AL ...uunet!ingr!crossgl