diff options
Diffstat (limited to 'src/mq/mq_timedreceive.c')
-rw-r--r-- | src/mq/mq_timedreceive.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mq/mq_timedreceive.c b/src/mq/mq_timedreceive.c new file mode 100644 index 00000000..ad705f8b --- /dev/null +++ b/src/mq/mq_timedreceive.c @@ -0,0 +1,7 @@ +#include <mqueue.h> +#include "syscall.h" + +ssize_t mq_timedreceive(mqd_t mqd, char *msg, size_t len, unsigned *prio, const struct timespec *at) +{ + return syscall(SYS_mq_timedreceive, mqd, msg, len, prio, at); +} |