Removing a message queueΒΆ

remove_msg_queue()

Removing a message queue


SYNTAX

remove_msg_queue(msg_id)

Remove the message queue specified in msg_id from the system. msg_id is the return value from the function that created or linked to the message queue.

A message queue can only be removed by the program that created the message queue, another program with the same owner or group id, or one with super user privilege.


Message queue functions

create_msgqueue()

Create a message queue

link_msg_queue()

Link to an existing message queue

read_msg_queue()

Read a message from a message queue

write_msg_queue()

Write a message to a message queue

remove_msg_queue()

Remove a message queue