Next: posix mq api, Up: posix mq [Index]
struct-mq-attr
The following bindings are exported by the (vicare posix)
library.
Data structure type used to represent at the Scheme level struct
mq_attr
values, see the manual page mq_getattr(3)
. It has the
following fields:
mq_flags
The fixnum zero or the constant O_NONBLOCK
.
mq_maxmsg
Maximum number of messages on the queue.
mq_msgsize
Maximum message size in bytes.
mq_curmsgs
Number of messages currently on the queue.
Build and return a new instance of struct-mq-attr
.
Return #t
if obj is an instance of struct-mq-attr
and
its field values are valid, return #f
otherwise.
Accessors for the fields of struct-mq-attr
.
Mutators for the fields of struct-mq-attr
.