diff options
author | Xavier L'Heureux <xavier.lheureux@icloud.com> | 2019-08-15 08:34:13 -0400 |
---|---|---|
committer | Xavier L'Heureux <dev.xlheureux@gmail.com> | 2020-05-17 21:05:46 -0400 |
commit | 4c28b9f164481fc39afc3e46c54cadfb1979a6ff (patch) | |
tree | 816fa374ee7837fbc4cea867365dc1577bba7665 /src/poll.rs | |
parent | 639d3b87a816bdb404de28d974ca8916fabec351 (diff) | |
download | nix-4c28b9f164481fc39afc3e46c54cadfb1979a6ff.zip |
Add poll
Diffstat (limited to 'src/poll.rs')
-rw-r--r-- | src/poll.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/poll.rs b/src/poll.rs index fbdd09de..80784a54 100644 --- a/src/poll.rs +++ b/src/poll.rs @@ -64,12 +64,16 @@ libc_bitflags! { /// `O_NONBLOCK` is set). POLLOUT; /// Equivalent to [`POLLIN`](constant.POLLIN.html) + #[cfg(not(target_os = "redox"))] POLLRDNORM; + #[cfg(not(target_os = "redox"))] /// Equivalent to [`POLLOUT`](constant.POLLOUT.html) POLLWRNORM; /// Priority band data can be read (generally unused on Linux). + #[cfg(not(target_os = "redox"))] POLLRDBAND; /// Priority data may be written. + #[cfg(not(target_os = "redox"))] POLLWRBAND; /// Error condition (only returned in /// [`PollFd::revents`](struct.PollFd.html#method.revents); |