diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-08-01 23:49:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-08-01 23:49:18 +0000 |
commit | ebcc1f4d75a9c76509e29474fd77f14704328a9d (patch) | |
tree | 90ac486aaffc924dd3d8c2b308755536df9cf70d /sysdeps/unix/sysv/linux/x86_64 | |
parent | 144bfa86e2dee39d4085acf9172044daf162b9ec (diff) | |
download | glibc-ebcc1f4d75a9c76509e29474fd77f14704328a9d.tar.gz glibc-ebcc1f4d75a9c76509e29474fd77f14704328a9d.tar.xz glibc-ebcc1f4d75a9c76509e29474fd77f14704328a9d.zip |
* sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for cvs/fedora-glibc-20080802T0809
new epoll_create1 interface. * sysdeps/unix/sysv/linux/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/sys/epoll.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/sys/epoll.h b/sysdeps/unix/sysv/linux/x86_64/sys/epoll.h index dfb65fe5fa..234798e4b8 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sys/epoll.h +++ b/sysdeps/unix/sysv/linux/x86_64/sys/epoll.h @@ -31,6 +31,16 @@ typedef __sigset_t sigset_t; #endif +/* Flags to be passed to epoll_create2. */ +enum + { + EPOLL_CLOEXEC = 02000000, +#define EPOLL_CLOEXEC EPOLL_CLOEXEC + EPOLL_NONBLOCK = 04000 +#define EPOLL_NONBLOCK EPOLL_NONBLOCK + }; + + enum EPOLL_EVENTS { EPOLLIN = 0x001, @@ -91,6 +101,10 @@ __BEGIN_DECLS returned by epoll_create() should be closed with close(). */ extern int epoll_create (int __size) __THROW; +/* Same as epoll_create but with an FLAGS parameter. The unused SIZE + parameter has been dropped. */ +extern int epoll_create1 (int __flags) __THROW; + /* Manipulate an epoll instance "epfd". Returns 0 in case of success, -1 in case of error ( the "errno" variable will contain the |