2 * Copyright (C) 2017 Waldemar Brodkorb <wbx@uclibc-ng.org>
3 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6 #include <sys/syscall.h>
11 #define __NR___mq_timedreceive_nocancel __NR_mq_timedreceive
12 _syscall5(ssize_t
, __NC(mq_timedreceive
), mqd_t
, mqdes
, char *__restrict
, msg_ptr
, size_t, msg_len
, unsigned int *__restrict
, msq_prio
, const struct timespec
*__restrict
, abs_timeout
)
14 CANCELLABLE_SYSCALL(ssize_t
, mq_timedreceive
, (mqd_t mqdes
, char *__restrict msg_ptr
, size_t msq_len
, unsigned int *__restrict msq_prio
, const struct timespec
*__restrict abs_timeout
),
15 (mqdes
, msg_ptr
, msq_len
, msq_prio
, abs_timeout
))
16 lt_libc_hidden(mq_timedreceive
)