shmget failed

Brian Dessent
Fri Feb 25 22:38:00 GMT 2005

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 bad system call error.
> Does anyone know what caused shmget to fail?

Since you didn't mention it you probably don't have cygserver running,
which is required.


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list