about summary refs log tree commit diff
path: root/src/mq/mq_setattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mq/mq_setattr.c')
-rw-r--r--src/mq/mq_setattr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mq/mq_setattr.c b/src/mq/mq_setattr.c
new file mode 100644
index 00000000..9064fa07
--- /dev/null
+++ b/src/mq/mq_setattr.c
@@ -0,0 +1,7 @@
+#include <mqueue.h>
+#include "syscall.h"
+
+int mq_setattr(mqd_t mqd, const struct mq_attr *new, struct mq_attr *old)
+{
+	return syscall(SYS_mq_getsetattr, mqd, new, old);
+}