mq_close - close a message queue
#include <mqueue.h>
mq_close() removes the association between the message queue descriptor, mqdes , and its message queue.
Upon successful completion, mq_close() returns 0 ; otherwise, the function returns -1 and sets errno to indicate the error condition.