about summary refs log tree commit diff
path: root/src/mq/mq_notify.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-07 01:52:27 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-07 01:52:27 -0400
commitab11386aaaffc93755ff86199bf753a6d5ef4b45 (patch)
tree1b10227c0f62b2974127b437537466b6c63f3593 /src/mq/mq_notify.c
parentcbf35978a9870fb1f5c73a852c986d4fcca6c2d4 (diff)
downloadmusl-ab11386aaaffc93755ff86199bf753a6d5ef4b45.tar.gz
musl-ab11386aaaffc93755ff86199bf753a6d5ef4b45.tar.xz
musl-ab11386aaaffc93755ff86199bf753a6d5ef4b45.zip
add support for POSIX message queues, except mq_notify
Diffstat (limited to 'src/mq/mq_notify.c')
-rw-r--r--src/mq/mq_notify.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mq/mq_notify.c b/src/mq/mq_notify.c
new file mode 100644
index 00000000..d85db1da
--- /dev/null
+++ b/src/mq/mq_notify.c
@@ -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;
+}