Skip to content

Commit 0b758af

Browse files
committed
Auto merge of #3232 - devnexen:redox_poll_consts, r=JohnTitor
redox add few more poll constants
2 parents fff5dbe + 82fdf04 commit 0b758af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/unix/redox/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,10 @@ pub const POLLOUT: ::c_short = 0x004;
528528
pub const POLLERR: ::c_short = 0x008;
529529
pub const POLLHUP: ::c_short = 0x010;
530530
pub const POLLNVAL: ::c_short = 0x020;
531+
pub const POLLRDNORM: ::c_short = 0x040;
532+
pub const POLLRDBAND: ::c_short = 0x080;
533+
pub const POLLWRNORM: ::c_short = 0x100;
534+
pub const POLLWRBAND: ::c_short = 0x200;
531535

532536
// pthread.h
533537
pub const PTHREAD_MUTEX_NORMAL: ::c_int = 0;

0 commit comments

Comments
 (0)