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
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.