File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -144,10 +144,9 @@ cfg_if! {
144
144
pub type intptr_t = isize ;
145
145
pub type uintptr_t = usize ;
146
146
pub type ssize_t = isize ;
147
-
148
147
pub enum FILE { }
149
148
pub enum fpos_t { } // TODO: fill this out with a struct
150
-
149
+ pub const EPOLLRDHUP : c_int = 8192 ;
151
150
extern {
152
151
pub fn isalnum( c: c_int) -> c_int;
153
152
pub fn isalpha( c: c_int) -> c_int;
Original file line number Diff line number Diff line change @@ -47,6 +47,10 @@ pub const EPOLLMSG: ::c_int = 0x400;
47
47
pub const EPOLLERR : :: c_int = 0x8 ;
48
48
pub const EPOLLHUP : :: c_int = 0x10 ;
49
49
pub const EPOLLET : :: c_int = 0x80000000 ;
50
+ pub const EPOLLRDHUP : :: c_int = 0x2000 ;
51
+ pub const EPOLLEXCLUSIVE : :: c_int = 0x10000000 ;
52
+ pub const EPOLLONESHOT : :: c_int = 0x40000000 ;
53
+
50
54
51
55
pub const EPOLL_CTL_ADD : :: c_int = 1 ;
52
56
pub const EPOLL_CTL_MOD : :: c_int = 3 ;
You can’t perform that action at this time.
0 commit comments