Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

msgrcv gets error ENXIO

Status
Not open for further replies.

mmque

Programmer
Nov 14, 2003
5
0
0
US
I have an application runing on AIX which has two threads. One thread is getting message from a queue in a loop using msgrcv(). I got many errors indicates the msgrcv() failed with error ENXIO (6). This error is not listed in the man page of msgrcv(). Can somebody tell me why I got such error.

Thanks.
 
You'll get ENXIO if you don't have read privileges to the message queue. Check the read/write permissions you are creating the messge queue with.

Good Luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top