dm_mqueue_attributes Function

public function dm_mqueue_attributes(mqueue, flags, max_msg, msg_size, cur_msgs) result(rc)

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.

Arguments

Type IntentOptional 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.

Return Value integer


Calls

proc~~dm_mqueue_attributes~~CallsGraph proc~dm_mqueue_attributes dm_mqueue_attributes c_mq_getattr c_mq_getattr proc~dm_mqueue_attributes->c_mq_getattr