* sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2

to epoll_create1.
This commit is contained in:
Joseph Myers 2008-08-19 16:53:11 +00:00
parent 72e2fdef91
commit a961a11ea2
2 changed files with 9 additions and 3 deletions

View File

@ -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,

View File

@ -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,