File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,25 @@ pub type nl_item = ::c_int;
36
36
pub type id_t = :: c_int ;
37
37
pub type idtype_t = :: c_uint ;
38
38
39
+ pub const EPOLLIN : :: c_int = 0x1 ;
40
+ pub const EPOLLPRI : :: c_int = 0x2 ;
41
+ pub const EPOLLOUT : :: c_int = 0x4 ;
42
+ pub const EPOLLRDNORM : :: c_int = 0x40 ;
43
+ pub const EPOLLRDBAND : :: c_int = 0x80 ;
44
+ pub const EPOLLWRNORM : :: c_int = 0x100 ;
45
+ pub const EPOLLWRBAND : :: c_int = 0x200 ;
46
+ pub const EPOLLMSG : :: c_int = 0x400 ;
47
+ pub const EPOLLERR : :: c_int = 0x8 ;
48
+ pub const EPOLLHUP : :: c_int = 0x10 ;
49
+ pub const EPOLLET : :: c_int = 0x80000000 ;
50
+
51
+ pub const EPOLL_CTL_ADD : :: c_int = 1 ;
52
+ pub const EPOLL_CTL_MOD : :: c_int = 3 ;
53
+ pub const EPOLL_CTL_DEL : :: c_int = 2 ;
54
+
55
+
56
+
57
+
39
58
pub enum timezone { }
40
59
41
60
s ! {
You can’t perform that action at this time.
0 commit comments