The POSIX message queue interfaces are listed in the following table.
Table 6–2 POSIX Message Queue Interfaces
Interface Name |
Purpose |
---|---|
mq_open(3RT) | Connects to, and optionally creates, a named message queue |
mq_close(3RT) | Ends the connection to an open message queue |
mq_unlink(3RT) | Ends the connection to an open message queue and causes the queue to be removed when the last process closes it |
mq_send(3RT) | Places a message in the queue |
mq_receive(3RT) | Receives (removes) the oldest, highest priority message from the queue |
mq_notify(3RT) | Notifies a process or thread that a message is available in the queue |
mq_setattr(3RT), mq_getattr(3RT) | Set or get message queue attributes |