Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - POSIX mq_receive() call fails sporadically and sets errno EFAULT : Page 1 of 2 (2 Items)
   
POSIX mq_receive() call fails sporadically and sets errno EFAULT  
POSIX mq_receive() call fails sporadically and sets errno EFAULT (,which is not documented for this call in QNX 
documentation)
  
In my application, I use a posix message queue which works fine without any issues, but very sporadically mq_receive 
call returns -1 and sets errno EFAULT (BAD ADDRESS).

The documentation of mq_receive doesn't specify that EFAULT errno is set. 

Could someone throw more light on this behavior of mq_receive?
Or if you think of scenarios in which cases EFAULT is set by mq_receive()?

Thanks in advance for any hints.