We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c32ac0d + 357f97f commit f1a3f91Copy full SHA for f1a3f91
src/unix/notbsd/mod.rs
@@ -501,6 +501,8 @@ pub const EPOLL_CTL_ADD: ::c_int = 1;
501
pub const EPOLL_CTL_MOD: ::c_int = 3;
502
pub const EPOLL_CTL_DEL: ::c_int = 2;
503
504
+pub const EPOLL_CLOEXEC: ::c_int = 0x80000;
505
+
506
pub const MNT_DETACH: ::c_int = 0x2;
507
pub const MNT_EXPIRE: ::c_int = 0x4;
508
@@ -749,6 +751,7 @@ extern {
749
751
pub fn sched_get_priority_max(policy: ::c_int) -> ::c_int;
750
752
pub fn sched_get_priority_min(policy: ::c_int) -> ::c_int;
753
pub fn epoll_create(size: ::c_int) -> ::c_int;
754
+ pub fn epoll_create1(flags: ::c_int) -> ::c_int;
755
pub fn epoll_ctl(epfd: ::c_int,
756
op: ::c_int,
757
fd: ::c_int,
0 commit comments