summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/bits/poll.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-16 10:08:27 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-16 10:08:27 +0000
commitb02e50be3e853e6a67c9ed986b994fbeebb0f0a5 (patch)
treed88aa374171a6aa61a2838de89e9506cacfc0684 /libc/sysdeps/linux/m68k/bits/poll.h
parent705ce36d85df6a6ab0f881a89797a5a88bd0422a (diff)
Facelist/cleanup for several syscalls. Added poll.
Diffstat (limited to 'libc/sysdeps/linux/m68k/bits/poll.h')
-rw-r--r--libc/sysdeps/linux/m68k/bits/poll.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/m68k/bits/poll.h b/libc/sysdeps/linux/m68k/bits/poll.h
index 2d4e6f6f0..4aec021fe 100644
--- a/libc/sysdeps/linux/m68k/bits/poll.h
+++ b/libc/sysdeps/linux/m68k/bits/poll.h
@@ -31,8 +31,13 @@
/* These values are defined in XPG4.2. */
# define POLLRDNORM 0x040 /* Normal data may be read. */
# define POLLRDBAND 0x080 /* Priority data may be read. */
-# define POLLWRNORM POLLOUT /* Writing now will not block. */
-# define POLLWRBAND 0x100 /* Priority data may be written. */
+# define POLLWRNORM 0x100 /* Writing now will not block. */
+# define POLLWRBAND 0x200 /* Priority data may be written. */
+#endif
+
+#ifdef __USE_GNU
+/* This is an extension for Linux. */
+# define POLLMSG 0x400
#endif
/* Event types always implicitly polled for. These bits need not be set in