10 #define __NEED_ssize_t
11 #define __NEED_pthread_attr_t
13 #define __NEED_struct_timespec
14 #include <bits/alltypes.h>
18 long mq_flags
, mq_maxmsg
, mq_msgsize
, mq_curmsgs
, __unused
[4];
23 int mq_getattr(mqd_t
, struct mq_attr
*);
24 int mq_notify(mqd_t
, const struct sigevent
*);
25 mqd_t
mq_open(const char *, int, ...);
26 ssize_t
mq_receive(mqd_t
, char *, size_t, unsigned *);
27 int mq_send(mqd_t
, const char *, size_t, unsigned);
28 int mq_setattr(mqd_t
, const struct mq_attr
*__restrict
, struct mq_attr
*__restrict
);
29 ssize_t
mq_timedreceive(mqd_t
, char *__restrict
, size_t, unsigned *__restrict
, const struct timespec
*__restrict
);
30 int mq_timedsend(mqd_t
, const char *, size_t, unsigned, const struct timespec
*);
31 int mq_unlink(const char *);
34 __REDIR(mq_timedreceive
, __mq_timedreceive_time64
);
35 __REDIR(mq_timedsend
, __mq_timedsend_time64
);