Skip to content

Commit 519c5ea

Browse files
authored
Fixed missing epoll one shot
1 parent 0bfcd7a commit 519c5ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/notbsd/android/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ pub const SA_RESTART: ::c_int = 0x10000000;
172172
pub const SA_NOCLDSTOP: ::c_int = 0x00000001;
173173

174174
pub const EPOLL_CLOEXEC: ::c_int = 0x80000;
175+
pub const EPOLLONESHOT: ::c_int = 0x40000000;
175176

176177
pub const EFD_CLOEXEC: ::c_int = 0x80000;
177178

0 commit comments

Comments
 (0)