Main index | Section 2 | Options |
#include <mqueue.h>
The mqdes argument specifies a message queue descriptor.
The results are returned in the mq_attr structure referenced by the mqstat argument.
Upon return, the following members will have the values associated with the open message queue description as set when the message queue was opened and as modified by subsequent mq_setattr() calls: mq_flags.
The following attributes of the message queue will be returned as set at message queue creation: mq_maxmsg, mq_msgsize.
Upon return, the following members within the mq_attr structure referenced by the mqstat argument will be set to the current state of the message queue:
mq_curmsgs | |
The number of messages currently on the queue. | |
[EBADF] | |
The mqdes argument is not a valid message queue descriptor. | |
MQ_GETATTR (2) | February 21, 2014 |
Main index | Section 2 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | The number of UNIX installations has grown to 10, with more expected. | ” |
— UNIX Programming Manual, 1972 |