[so] Tema 2 Linux - mq_open

Andrei Draga andreidraga at yahoo.com
Sun Mar 25 23:42:17 EEST 2012


Am la un moment dat in gateway.c : 
        ...

        S = initializeazaS() ;
        C = mq_open ( "/gateway", O_CREAT | O_RDWR, 0777, &S ) ;
        printf("%d\n",C) ;
        printf("---%s\n", strerror(errno)) ;

        ...
Si cand rulez ./gateway obtin :
-1
---Invalid argument


De ce imi returneaza -1 de fiecare data mq_open ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20120325/6447a57e/attachment.htm>


More information about the so mailing list