mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
* sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
to epoll_create1.
This commit is contained in:
parent
72e2fdef91
commit
a961a11ea2
@ -1,3 +1,8 @@
|
||||
2008-08-19 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
|
||||
to epoll_create1.
|
||||
|
||||
2008-08-19 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
|
||||
|
@ -31,7 +31,7 @@ typedef __sigset_t sigset_t;
|
||||
#endif
|
||||
|
||||
|
||||
/* Flags to be passed to epoll_create2. */
|
||||
/* Flags to be passed to epoll_create1. */
|
||||
enum
|
||||
{
|
||||
EPOLL_CLOEXEC = 02000000,
|
||||
@ -101,8 +101,9 @@ __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 additional FLAGS parameter. */
|
||||
extern int epoll_create2 (int __size, int __flags) __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,
|
||||
|
Loading…
Reference in New Issue
Block a user