summaryrefslogtreecommitdiff
path: root/src/mq/mq_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mq/mq_send.c')
-rw-r--r--src/mq/mq_send.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mq/mq_send.c b/src/mq/mq_send.c
new file mode 100644
index 00000000..1acb1b78
--- /dev/null
+++ b/src/mq/mq_send.c
@@ -0,0 +1,6 @@
+#include <mqueue.h>
+
+int mq_send(mqd_t mqd, const char *msg, size_t len, unsigned prio)
+{
+ return mq_timedsend(mqd, msg, len, prio, 0);
+}