1 #include <mqueue.h> 2 mq_receive(mqd_t mqd,char * msg,size_t len,unsigned * prio)3 ssize_t mq_receive(mqd_t mqd, char *msg, size_t len, unsigned *prio) 4 { 5 return mq_timedreceive(mqd, msg, len, prio, 0); 6 } 7