add support for POSIX message queues, except mq_notify
[oweals/musl.git] / src / mq / mq_notify.c
diff --git a/src/mq/mq_notify.c b/src/mq/mq_notify.c
new file mode 100644 (file)
index 0000000..d85db1d
--- /dev/null
@@ -0,0 +1,10 @@
+#include <mqueue.h>
+#include <pthread.h>
+#include <errno.h>
+#include "syscall.h"
+
+int mq_notify(mqd_t mqd, const struct sigevent *sev)
+{
+       errno = ENOSYS;
+       return -1;
+}