* sysdeps/unix/sysv/linux/sparc/bits/poll.h: Add POLLMSG,
authorUlrich Drepper <drepper@redhat.com>
Sat, 25 Mar 2006 20:46:27 +0000 (20:46 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 25 Mar 2006 20:46:27 +0000 (20:46 +0000)
POLLREMOVE, and POLLRDHUP.
* sysdeps/unix/sysv/linux/bits/poll.h: Add POLLREMOVE and POLLRDHUP.

ChangeLog
sysdeps/unix/sysv/linux/bits/poll.h
sysdeps/unix/sysv/linux/sparc/bits/poll.h

index d0c335e..632ae73 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-03-25  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Add POLLMSG,
+       POLLREMOVE, and POLLRDHUP.
+       * sysdeps/unix/sysv/linux/bits/poll.h: Add POLLREMOVE and POLLRDHUP.
+
 2006-03-24  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define
index dccb8b6..d7996b4 100644 (file)
@@ -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
 #endif
 
 #ifdef __USE_GNU
-/* This is an extension for Linux.  */
+/* These are extensions for Linux.  */
 # define POLLMSG       0x400
+# define POLLREMOVE    0x1000
+# define POLLRDHUP     0x2000
 #endif
 
 /* Event types always implicitly polled for.  These bits need not be set in
index f7a7393..53b94bc 100644 (file)
@@ -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
 # 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.  */