summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/bits/poll.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-29 05:46:47 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-29 05:46:47 +0000
commit0423bfc820a3aaad93361106178b0173f22fc185 (patch)
tree4a34efd9ab94992f650c9831a42f43f5b91d912f /libc/sysdeps/linux/sparc/bits/poll.h
parent4607e6235f4d669cc288ebc15fb46dc2b3117a87 (diff)
sync with glibc
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits/poll.h')
-rw-r--r--libc/sysdeps/linux/sparc/bits/poll.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/poll.h b/libc/sysdeps/linux/sparc/bits/poll.h
index f7a739315..53b94bc50 100644
--- a/libc/sysdeps/linux/sparc/bits/poll.h
+++ b/libc/sysdeps/linux/sparc/bits/poll.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2001, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -35,6 +35,13 @@
# define POLLWRBAND 0x100 /* Priority data may be written. */
#endif
+#ifdef __USE_GNU
+/* These are extensions for Linux. */
+# define POLLMSG 0x200
+# define POLLREMOVE 0x400
+# define POLLRDHUP 0x800
+#endif
+
/* Event types always implicitly polled for. These bits need not be set in
`events', but they will appear in `revents' to indicate the status of
the file descriptor. */