summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2023-05-03 19:08:41 +0100
committerDavid Carlier <devnexen@gmail.com>2023-05-03 19:08:41 +0100
commit82fdf04f81caf77fd47797e75a7118d6065a59dd (patch)
treeb29b58717d3945110cde39867b37202a2a9caea1
parentfff5dbe033906f147169c6e458e00b33e347ba41 (diff)
downloadrust-libc-82fdf04f81caf77fd47797e75a7118d6065a59dd.tar.gz
redox add few more poll constants
-rw-r--r--src/unix/redox/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unix/redox/mod.rs b/src/unix/redox/mod.rs
index 09abf54ed5..d946f46524 100644
--- a/src/unix/redox/mod.rs
+++ b/src/unix/redox/mod.rs
@@ -528,6 +528,10 @@ pub const POLLOUT: ::c_short = 0x004;
pub const POLLERR: ::c_short = 0x008;
pub const POLLHUP: ::c_short = 0x010;
pub const POLLNVAL: ::c_short = 0x020;
+pub const POLLRDNORM: ::c_short = 0x040;
+pub const POLLRDBAND: ::c_short = 0x080;
+pub const POLLWRNORM: ::c_short = 0x100;
+pub const POLLWRBAND: ::c_short = 0x200;
// pthread.h
pub const PTHREAD_MUTEX_NORMAL: ::c_int = 0;