Re: shmget failed

2005-02-25 Thread Brian Dessent
Jennifer Lai wrote: >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

RE: shmget failed

2005-02-25 Thread Jennifer Lai
Does these errors have to do with why shmget failed? and, how would I be able to fix them? Thanks, Jennifer 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 foll

shmget failed

2005-02-25 Thread Jennifer Lai
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 anyo

RE: shmget failed

2005-02-25 Thread Dave Korn
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 > > A