diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-01-21 06:23:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-01-21 06:23:26 +0000 |
commit | e11676dd1c81cb5a6ca39455874050a4d3fe0245 (patch) | |
tree | 97afd3d1b717b36b7e94c32b8f8f2b7cdd967b52 /sysdeps | |
parent | debddf649e022359a828e2424efd1dc606d8a24c (diff) | |
download | glibc-e11676dd1c81cb5a6ca39455874050a4d3fe0245.zip glibc-e11676dd1c81cb5a6ca39455874050a4d3fe0245.tar.gz glibc-e11676dd1c81cb5a6ca39455874050a4d3fe0245.tar.bz2 |
Update.cvs/ChangeLog
* sysdeps/unix/sysv/linux/sys/epoll.h: Add EPOLLONESHOT.
* sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
Patch by Davide Libenzi.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/sys/epoll.h | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/sys/epoll.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/epoll.h b/sysdeps/unix/sysv/linux/sys/epoll.h index c6acc1e..6c310bc 100644 --- a/sysdeps/unix/sysv/linux/sys/epoll.h +++ b/sysdeps/unix/sysv/linux/sys/epoll.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2004 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 @@ -45,6 +45,8 @@ enum EPOLL_EVENTS #define EPOLLERR EPOLLERR EPOLLHUP = 0x010, #define EPOLLHUP EPOLLHUP + EPOLLONESHOT = (1 << 30), +#define EPOLLONESHOT EPOLLONESHOT EPOLLET = (1 << 31) #define EPOLLET EPOLLET }; diff --git a/sysdeps/unix/sysv/linux/x86_64/sys/epoll.h b/sysdeps/unix/sysv/linux/x86_64/sys/epoll.h index e05a61c..cffddb5 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 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2003, 2004 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 @@ -45,6 +45,8 @@ enum EPOLL_EVENTS #define EPOLLERR EPOLLERR EPOLLHUP = 0x010, #define EPOLLHUP EPOLLHUP + EPOLLONESHOT = (1 << 30), +#define EPOLLONESHOT EPOLLONESHOT EPOLLET = (1 << 31) #define EPOLLET EPOLLET }; |