DCMD_MISC_MQSETATTR

Set the attributes of a message queue

Synopsis:

#include <sys/dcmd_misc.h>

#define DCMD_MISC_MQSETATTR   __DIOT(_DCMD_MISC, 2, struct mq_attr)

Arguments to devctl():

Argument Value
filedes A message-queue descriptor (of type mqd_t) that you obtained by opening the queue.
dcmd DCMD_MISC_MQSETATTR
dev_data_ptr A pointer to a struct mq_attr
n_bytes sizeof(struct mq_attr)
dev_info_ptr NULL

Description:

This command sets the attributes for a message queue. For more information, see mq_settattr() in the QNX Neutrino C Library Reference

Input:

The attributes that you want to set for the message queue.

Output:

None.

See also:

DCMD_MISC_MQGETATTR

devctl(), mq_settattr() in the QNX Neutrino C Library Reference