diff options
Diffstat (limited to 'newlib/libc/sys/linux/mq_notify.c')
-rw-r--r-- | newlib/libc/sys/linux/mq_notify.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/mq_notify.c b/newlib/libc/sys/linux/mq_notify.c new file mode 100644 index 000000000..fd4606bd4 --- /dev/null +++ b/newlib/libc/sys/linux/mq_notify.c @@ -0,0 +1,22 @@ +/* Copyright 2002, Red Hat Inc. */ + +#include <mqueue.h> +#include <errno.h> +#include <machine/weakalias.h> + +#include "mqlocal.h" + +int +__libc_mq_notify (mqd_t msgid, const struct sigevent *notification) +{ + errno = ENOSYS; + return -1; +} +weak_alias (__libc_mq_notify, mq_notify) + + + + + + + |