comparison src/event/modules/ngx_epoll_module.c @ 6634:18f6120e3b7a

Style: sorted epoll flags.
author Valentin Bartenev <vbart@nginx.com>
date Fri, 15 Jul 2016 15:18:57 +0300
parents c93e57ba301b
children 6acaa638fa07
comparison
equal deleted inserted replaced
6633:d82b3c344e7e 6634:18f6120e3b7a
15 /* epoll declarations */ 15 /* epoll declarations */
16 16
17 #define EPOLLIN 0x001 17 #define EPOLLIN 0x001
18 #define EPOLLPRI 0x002 18 #define EPOLLPRI 0x002
19 #define EPOLLOUT 0x004 19 #define EPOLLOUT 0x004
20 #define EPOLLERR 0x008
21 #define EPOLLHUP 0x010
20 #define EPOLLRDNORM 0x040 22 #define EPOLLRDNORM 0x040
21 #define EPOLLRDBAND 0x080 23 #define EPOLLRDBAND 0x080
22 #define EPOLLWRNORM 0x100 24 #define EPOLLWRNORM 0x100
23 #define EPOLLWRBAND 0x200 25 #define EPOLLWRBAND 0x200
24 #define EPOLLMSG 0x400 26 #define EPOLLMSG 0x400
25 #define EPOLLERR 0x008
26 #define EPOLLHUP 0x010
27 27
28 #define EPOLLRDHUP 0x2000 28 #define EPOLLRDHUP 0x2000
29 29
30 #define EPOLLONESHOT 0x40000000
30 #define EPOLLET 0x80000000 31 #define EPOLLET 0x80000000
31 #define EPOLLONESHOT 0x40000000
32 32
33 #define EPOLL_CTL_ADD 1 33 #define EPOLL_CTL_ADD 1
34 #define EPOLL_CTL_DEL 2 34 #define EPOLL_CTL_DEL 2
35 #define EPOLL_CTL_MOD 3 35 #define EPOLL_CTL_MOD 3
36 36