delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: shmget failed |
Date: | Fri, 25 Feb 2005 19:29:44 -0000 |
MIME-Version: | 1.0 |
In-Reply-To: | <421F7BA4.4080404@lindaspaces.com> |
Message-ID: | <SERRANO2kfYroqVB4r00000000f@SERRANO.CAM.ARTIMI.COM> |
X-OriginalArrivalTime: | 25 Feb 2005 19:29:44.0890 (UTC) FILETIME=[5C4F11A0:01C51B70] |
----Original Message---- >From: cygwin-owner On Behalf Of Jennifer Lai >Sent: 25 February 2005 19:25 > Hi, > I got bad system call error when I tried to compile a program that > contains the following code, > > shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); > where, size = 661552 > > At first I thought it has to do with the size, but reducing the size to > 128 still cause bad system call error. > Does anyone know what caused shmget to fail? Yes, *you* do. Check errno. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |