arc: add acq/rel variants for atomic cmpxchg/xchg
[uclibc-ng.git] / librt / mq_send.c
blobfb4fa65553ba1aab2e87720fc0567e73cbe6ca4b
1 /*
2 * mq_send.c - functions for sending to message queue.
3 */
5 #include <errno.h>
6 #include <stddef.h>
7 #include <sys/syscall.h>
9 #include <mqueue.h>
11 #ifdef __NR_mq_timedsend
12 int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned int msg_prio)
14 return mq_timedsend(mqdes, msg_ptr, msg_len, msg_prio, NULL);
16 #endif