Module nix::mqueue [] [src]

Posis Message Queue functions

Further reading and details on the C API

Structs

FdFlag
MQ_OFlag
MqAttr

Constants

FD_CLOEXEC
O_CLOEXEC
O_CREAT
O_EXCL
O_NONBLOCK
O_RDONLY
O_RDWR
O_WRONLY

Functions

mq_close
mq_getattr
mq_open
mq_receive
mq_remove_nonblock

Convenience function. Removes O_NONBLOCK attribute for a given message queue descriptor Returns the old attributes

mq_send
mq_set_nonblock

Convenience function. Sets the O_NONBLOCK attribute for a given message queue descriptor Returns the old attributes

mq_setattr

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

mq_unlink

Type Definitions

MQd