summaryrefslogtreecommitdiff
path: root/src/poll.rs
AgeCommit message (Collapse)Author
2019-02-12`PollFd` event flags renamed to `PollFlags` from `EventFlags`.Amanjeev Sethi
Most of the EventFlags have been renamed already, but Poll was the only one remaining. This commit fixes that. Issue 317 https://github.com/nix-rust/nix/issues/317
2018-04-19Implement Debug trait for PollFdZhouyu Qian
This is useful when using printf-style debugging to observe the variables of the program. Also includes a test. Fixes #885.
2018-01-28Require docs for the poll moduleBryant Mairs
2018-01-28Require Debug impls for all typesBryant Mairs
2017-12-04Stop reexporting `Errno` and its variantsJonas Schievink
cc #664 (unsure if this is everything needed)
2017-10-08Replace most Linux man page links with Open Group man page linksAlan Somers
But leave in place Linux links for non-standard functions. Also, add brief docs for some functions that were lacking them.
2017-08-16Match libc_bitflags! syntax to upstream bitflags!Bryant Mairs
2017-07-30document poll moduleNicolas Dusart
2017-07-26add poll module for all platformsNicolas Dusart
2017-03-02Remove revents from PollFd::newBryant Mairs
revents is an output field so regardless of what value it is set to it will be overwritten by many of the function calls that take a PollFd. The only value that makes sense for the caller to pass in in `EventFlags::empty()` so we just hardcode that instead of making the caller do it.
2017-02-25Add ppoll()Bryant Mairs
2017-02-16Update bitflags to 0.7Simon Sapin
2016-08-31Use libc in poll.rsPhilipp Matthias Schaefer
2016-01-28Move errno::Result back to crate rootarcnmx
2016-01-28Errno::result()arcnmx
2016-01-25Add everything from poll.h.Utkarsh Kukreti