Skip to content

Commit

Permalink
Auto merge of #3232 - devnexen:redox_poll_consts, r=JohnTitor
Browse files Browse the repository at this point in the history
redox add few more poll constants
  • Loading branch information
bors committed May 3, 2023
2 parents fff5dbe + 82fdf04 commit 0b758af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/unix/redox/mod.rs
Expand Up @@ -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;
Expand Down

0 comments on commit 0b758af

Please sign in to comment.