diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-08-14 22:12:54 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-08-18 02:37:13 -0400 |
commit | 44e01f06a019e131c8e6f3984a37bdc6a7811479 (patch) | |
tree | c23905da5a75c7b0a8e290e13e0d99700064fd11 /sysdeps/unix/sysv/linux/hppa/bits | |
parent | d5a77fcafdcd3494663387e7100e2fb2d180af5b (diff) | |
download | glibc-44e01f06a019e131c8e6f3984a37bdc6a7811479.tar glibc-44e01f06a019e131c8e6f3984a37bdc6a7811479.tar.gz glibc-44e01f06a019e131c8e6f3984a37bdc6a7811479.tar.bz2 glibc-44e01f06a019e131c8e6f3984a37bdc6a7811479.zip |
hppa: epoll.h: move to common sys/epoll.h
Use the common sys/epoll.h to avoid duplication and move the arch-specific
settings into bits/epoll.h.
Diffstat (limited to 'sysdeps/unix/sysv/linux/hppa/bits')
-rw-r--r-- | sysdeps/unix/sysv/linux/hppa/bits/epoll.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/epoll.h b/sysdeps/unix/sysv/linux/hppa/bits/epoll.h new file mode 100644 index 0000000000..2f9e24158f --- /dev/null +++ b/sysdeps/unix/sysv/linux/hppa/bits/epoll.h @@ -0,0 +1,27 @@ +/* Copyright (C) 2002-2015 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 + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <http://www.gnu.org/licenses/>. */ + +#ifndef _SYS_EPOLL_H +# error "Never use <bits/epoll.h> directly; include <sys/epoll.h> instead." +#endif + +/* Flags to be passed to epoll_create1. */ +enum + { + EPOLL_CLOEXEC = 010000000 +#define EPOLL_CLOEXEC EPOLL_CLOEXEC + }; |