summaryrefslogtreecommitdiff
path: root/src/mq/mq_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mq/mq_close.c')
-rw-r--r--src/mq/mq_close.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mq/mq_close.c b/src/mq/mq_close.c
new file mode 100644
index 00000000..a61f094d
--- /dev/null
+++ b/src/mq/mq_close.c
@@ -0,0 +1,7 @@
+#include <mqueue.h>
+#include "syscall.h"
+
+int mq_close(mqd_t mqd)
+{
+ return syscall(SYS_close, mqd);
+}