IPC not found with cygwin

561 Views Asked by At

I have a problem that I can't create message queue with cygwin:

if ((queue_ID = msgget(IPC_PRIVATE,IPC_CREAT|0666)) < 0)
    {
        printf("msgget\n");
        return 1;
    }

This code just returns "msgget" string. Why not, what's wrong? How can I install message queues with cygwin?

0

There are 0 best solutions below