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>
|
2008-08-19 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
|
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
|
||||||
|
@ -31,7 +31,7 @@ typedef __sigset_t sigset_t;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Flags to be passed to epoll_create2. */
|
/* Flags to be passed to epoll_create1. */
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
EPOLL_CLOEXEC = 02000000,
|
EPOLL_CLOEXEC = 02000000,
|
||||||
@ -101,8 +101,9 @@ __BEGIN_DECLS
|
|||||||
returned by epoll_create() should be closed with close(). */
|
returned by epoll_create() should be closed with close(). */
|
||||||
extern int epoll_create (int __size) __THROW;
|
extern int epoll_create (int __size) __THROW;
|
||||||
|
|
||||||
/* Same as epoll_create but with an additional FLAGS parameter. */
|
/* Same as epoll_create but with an FLAGS parameter. The unused SIZE
|
||||||
extern int epoll_create2 (int __size, int __flags) __THROW;
|
parameter has been dropped. */
|
||||||
|
extern int epoll_create1 (int __flags) __THROW;
|
||||||
|
|
||||||
|
|
||||||
/* Manipulate an epoll instance "epfd". Returns 0 in case of success,
|
/* Manipulate an epoll instance "epfd". Returns 0 in case of success,
|
||||||
|
Loading…
Reference in New Issue
Block a user