SYNOPSIS
#include <mqueue.h>
int mq_setattr(mqd_t mqdes, const struct mq_attr *restrict mqstat, struct mq_attr *restrict omqstat);
DESCRIPTION
The
When
The values of the mq_maxmsg, mq_msgsize, and
mq_curmsgs members of the mq_attr structure are
ignored by
PARAMETERS
- mqdes
-
Specifies a message queue descriptor.
- mqstat
-
Points to a message queue attributes object.
- omqstat
-
Points to the message queue attributes object where the previous message queue attributes and the current queue status are stored.
RETURN VALUES
On success,
On failure, the message queue attributes are unchanged and
CONFORMANCE
UNIX 03.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
MKS Toolkit 9.2 Documentation Build 16.