From 82fdf04f81caf77fd47797e75a7118d6065a59dd Mon Sep 17 00:00:00 2001 From: David Carlier Date: Wed, 3 May 2023 19:08:41 +0100 Subject: [PATCH] redox add few more poll constants --- src/unix/redox/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/unix/redox/mod.rs b/src/unix/redox/mod.rs index 09abf54ed50eb..d946f46524293 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;