mq_timedreceive() function
Receive a message from a message queue with timeout. Please refer to http://pubs.opengroup.org/onlinepubs/9699919799/functions/mq_timedreceive.html for more details.
Notes
msg_prio argument is not supported. Messages are not checked for corruption.