2 // should test for not an array type.
8 element {struct mq_attr} long mq_flags
9 element {struct mq_attr} long mq_maxmsg
10 element {struct mq_attr} long mq_msgsize
11 element {struct mq_attr} long mq_curmsgs
13 function int mq_close (mqd_t)
14 function int mq_getattr (mqd_t, struct mq_attr*)
15 function int mq_notify (mqd_t, const struct sigevent*)
16 function mqd_t mq_open (const char*, int, ...)
17 function ssize_t mq_receive (mqd_t, char*, size_t, unsigned int*)
18 function int mq_send (mqd_t, const char*, size_t, unsigned int)
19 function int mq_setattr (mqd_t, const struct mq_attr*, struct mq_attr*)
20 function int mq_unlink (const char*)
22 optional-function ssize_t mq_timedreceive (mqd_t, char*, size_t, unsigned int*, const struct timespec*)
23 optional-function int mq_timedsend (mqd_t, const char*, size_t, unsigned int, const struct timespec*)
28 allow-header sys/types.h