Returns message queue attributes.
The function returns the following error codes:
E_INVALID if message queue descriptor is invalid.E_MQUEUE if system call to get the attributes failed.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(mqueue_type), | intent(inout) | :: | mqueue |
Message queue type. |
||
| integer(kind=i8), | intent(out), | optional | :: | flags |
Flags. |
|
| integer(kind=i8), | intent(out), | optional | :: | max_msg |
Maximum number of messages in queue. |
|
| integer(kind=i8), | intent(out), | optional | :: | msg_size |
Message size. |
|
| integer(kind=i8), | intent(out), | optional | :: | cur_msgs |
Current number of messages in queue. |