1 | #include <rt/mqueue.h> |
2 | |
3 | #ifndef _ISOMAC |
4 | # if IS_IN (librt) |
5 | hidden_proto (mq_timedsend) |
6 | extern __typeof (mq_timedsend) __mq_timedsend __nonnull ((2, 5)); |
7 | hidden_proto (__mq_timedsend) |
8 | hidden_proto (mq_timedreceive) |
9 | extern __typeof (mq_timedreceive) __mq_timedreceive __nonnull ((2, 5)); |
10 | hidden_proto (__mq_timedreceive) |
11 | hidden_proto (mq_setattr) |
12 | # endif |
13 | #include <struct___timespec64.h> |
14 | #if __TIMESIZE == 64 |
15 | # define __mq_timedsend_time64 __mq_timedsend |
16 | # define __mq_timedreceive_time64 __mq_timedreceive |
17 | #else |
18 | extern int __mq_timedsend_time64 (mqd_t mqdes, const char *msg_ptr, |
19 | size_t msg_len, unsigned int msg_prio, |
20 | const struct __timespec64 *abs_timeout); |
21 | librt_hidden_proto (__mq_timedsend_time64) |
22 | extern ssize_t __mq_timedreceive_time64 (mqd_t mqdes, |
23 | char *__restrict msg_ptr, |
24 | size_t msg_len, |
25 | unsigned int *__restrict msg_prio, |
26 | const struct __timespec64 *__restrict |
27 | abs_timeout); |
28 | librt_hidden_proto (__mq_timedreceive_time64) |
29 | #endif |
30 | #endif |
31 | |