diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-08-02 08:26:10 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2008-08-02 08:26:10 +0000 |
commit | 2fb513c60061821c7e5e7fb6014d2afd0308b7e9 (patch) | |
tree | c7d9546bed03277ec2921a1b2cbda1f78620450b /sysdeps/unix/sysv/linux/x86_64/sys/epoll.h | |
parent | c7045198ca8f4ff5b97205340d51127f8503c2bd (diff) |
Updated to fedora-glibc-20080802T0809cvs/fedora-glibc-2_8_90-11
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/sys/epoll.h')
-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 |