Function nix::mqueue::mq_setattr [−][src]
pub fn mq_setattr(mqd: mqd_t, newattr: &MqAttr) -> Result<MqAttr>
Expand description
Set the attributes of the message queue. Only O_NONBLOCK
can be set, everything else will be ignored
Returns the old attributes
It is recommend to use the mq_set_nonblock()
and mq_remove_nonblock()
convenience functions as they are easier to use