Home | History | Annotate | Download | only in mq_open

Lines Matching refs:queue

11  * calling the message queue with that name will refer to the same
12 * message queue object.
14 * Test by creating a message queue and placing a message within it. Then,
15 * in another process open the first message queue and ensure the message
102 mqd_t queue;
108 queue = mq_open(qname, O_CREAT | O_RDWR,
110 if (queue == (mqd_t) - 1) {
118 if (mq_send(queue, msgptr, strlen(msgptr) + 1, 1) != 0) {
121 /* close queue, stop child and exit */
122 mq_close(queue);
133 /* close queue and exit */
135 mq_close(queue);
140 mq_close(queue);