about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2008-01-21 21:19:51 +0000
committerAndreas Jaeger <aj@suse.de>2008-01-21 21:19:51 +0000
commit0aa678b7994bc372c76fa76bce8cd410f1e73be9 (patch)
tree43afa2d252c63224bc8b4201ff45050555886174
parentd3bc5e77108be0b3013176ee63f098c5f2e2b4f1 (diff)
downloadglibc-0aa678b7994bc372c76fa76bce8cd410f1e73be9.tar.gz
glibc-0aa678b7994bc372c76fa76bce8cd410f1e73be9.tar.xz
glibc-0aa678b7994bc372c76fa76bce8cd410f1e73be9.zip
[BZ #5040] * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (enum EPOLL_EVENTS): Add EPOLLRDHUP.
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/sys/epoll.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/sys/epoll.h b/sysdeps/unix/sysv/linux/x86_64/sys/epoll.h
index 26f23da403..dfb65fe5fa 100644
--- a/sysdeps/unix/sysv/linux/x86_64/sys/epoll.h
+++ b/sysdeps/unix/sysv/linux/x86_64/sys/epoll.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002,2003,2004,2005,2006,2007 Free Software Foundation, Inc.
+/* Copyright (C) 2002,2003,2004,2005,2006,2007,2008 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
@@ -53,6 +53,8 @@ enum EPOLL_EVENTS
 #define EPOLLERR EPOLLERR
     EPOLLHUP = 0x010,
 #define EPOLLHUP EPOLLHUP
+    EPOLLRDHUP = 0x2000,
+#define EPOLLRDHUP EPOLLRDHUP
     EPOLLONESHOT = (1 << 30),
 #define EPOLLONESHOT EPOLLONESHOT
     EPOLLET = (1 << 31)