summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkolapapa <346512016@qq.com>2021-01-04 14:42:14 +0800
committerkolapapa <346512016@qq.com>2021-01-04 14:42:14 +0800
commit46af3376bde0b247e7f827642e53dbae7c21be3d (patch)
tree144c54291d2fb0c022c5e6b13b18aba8a49d5ee9
parent7e7452fa28de2e4447f5f9f31357a497459e48d5 (diff)
downloadrust-libc-46af3376bde0b247e7f827642e53dbae7c21be3d.tar.gz
Add EPOLLEXCLUSIVE && EPOLLWAKEUP
-rw-r--r--src/unix/uclibc/mips/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/uclibc/mips/mod.rs b/src/unix/uclibc/mips/mod.rs
index 6a9b41c9f0..de76971ae3 100644
--- a/src/unix/uclibc/mips/mod.rs
+++ b/src/unix/uclibc/mips/mod.rs
@@ -28,6 +28,8 @@ pub const SA_RESETHAND: ::c_int = 0x80000000;
pub const SA_RESTART: ::c_int = 0x10000000;
pub const SA_NOCLDSTOP: ::c_int = 0x00000001;
+pub const EPOLLEXCLUSIVE: ::c_int = 0x10000000; // from linux/mod.rs
+pub const EPOLLWAKEUP: ::c_int = 0x20000000; // from linux/other/mod.rs
pub const EPOLL_CLOEXEC: ::c_int = 0x80000;
pub const EFD_CLOEXEC: ::c_int = 0x80000;