How can I cleanup the IPC message-queue?
c, ipc, message-queue
Solution
To delete a queue, use the following command:
msgctl(msgQID, IPC_RMID, NULL);
SYSTEM CALL: msgctl()
Problem
I am using `msgget()` function in my IPC based application. How can I clean up the queue filled up with old message queues?