From owner-freebsd-questions Mon Sep 18 14:35:36 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA03423 for questions-outgoing; Mon, 18 Sep 1995 14:35:36 -0700 Received: from aslan.cdrom.com (aslan.cdrom.com [192.216.223.142]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA03417 for ; Mon, 18 Sep 1995 14:35:32 -0700 Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by aslan.cdrom.com (8.6.12/8.6.9) with SMTP id OAA14123; Mon, 18 Sep 1995 14:35:15 -0700 Message-Id: <199509182135.OAA14123@aslan.cdrom.com> X-Authentication-Warning: aslan.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: Tim Strayer cc: questions@freebsd.org Subject: Re: Shared Memory and ftok() In-reply-to: Your message of "Mon, 18 Sep 1995 14:18:53 PDT." <9509182118.AA23402@lucky.ca.sandia.gov> Date: Mon, 18 Sep 1995 14:35:15 -0700 From: "Justin T. Gibbs" Sender: owner-questions@freebsd.org Precedence: bulk >Hello, > >I am trying to use shm and ftok on FreeBSD 2.1.0. > >The function call "shmget()", when called, produces > > Bad system call (core dumped) > >Does shared memory exist in FreeBSD 2.1? Here's the test program >I used: Do you have: options SYSVSHM in your kernel config file? Shared memory is a kernel option that is not enabled by default. >Thanks for your help, >-Tim. > >-------------------------------------------------------------------- >W. Timothy Strayer Sandia National Laboratories >Distributed Systems Research P.O. Box 969, Mailstop 9011 >(510) 294-3671 (OFFICE) Livermore, CA 94551-0969 >(510) 294-1225 (FAX) strayer@ca.sandia.gov > -- Justin T. Gibbs =========================================== Software Developer - Walnut Creek CDROM FreeBSD: Turning PCs into workstations ===========================================