Query status and attributes of message queue mqdes.
Message queue descriptor.
Buffer to fill with the message queue's attributes.
On success mq_getattr() return 0; on error, -1 is returned, with errno set to indicate the error.
See Implementation
Query status and attributes of message queue mqdes.