diff options
author | bors <bors@rust-lang.org> | 2023-05-03 23:52:09 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-05-03 23:52:09 +0000 |
commit | 0b758afcdc34c9a72508a481ba151857d0b469de (patch) | |
tree | b29b58717d3945110cde39867b37202a2a9caea1 | |
parent | fff5dbe033906f147169c6e458e00b33e347ba41 (diff) | |
parent | 82fdf04f81caf77fd47797e75a7118d6065a59dd (diff) | |
download | rust-libc-0b758afcdc34c9a72508a481ba151857d0b469de.tar.gz |
Auto merge of #3232 - devnexen:redox_poll_consts, r=JohnTitor
redox add few more poll constants
-rw-r--r-- | src/unix/redox/mod.rs | 4 |
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; |