Hi All,
I dont know if this is the right place to post this query.

I am having problem with mq_open. I have code like below:

const int MQ_OPEN_FLAGS = O_RDWR;
mQueueId = ::mq_open (pName,MQ_OPEN_FLAGS);

In this case, mq_open is returning errno 17.

I cant understnd the reason of this error as we are tryng to open an exisiting 
mq. In what situation errno 17 can be returned if called this way(to open 
existing MQ)? I know that file already exists thats why I called the mq_open 
with O_RDWR option. In what conditions errno 17 can be returned by mq_open.

Thanks in advance
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to