summaryrefslogtreecommitdiff
path: root/src/sys/event.rs
AgeCommit message (Collapse)Author
2017-04-09Fixes nix-rust/nix#532Zac Berkowitz
2017-02-19Fix the style for bitflags!Mathias Svensson
Prefer libc_bitflags! over bitflags!. Prefer libc::CONSTANTS over writing the constant manually.
2017-02-16Update bitflags to 0.7Simon Sapin
2016-12-16Fix build on iOS platformConrad Kramer
2016-11-10Change KEvent to treat udata as an intptr_t instead of a uintptr_t.Alan Somers
This matches NetBSD's C definitions. Other operating systems define it as void*, despite not really being a pointer, but none actually define it as uintptr_t. Better to be right on NetBSD and wrong everywhere else than wrong everywhere. Plus, it's what mio expects.
2016-10-29Update comments and CHANGELOG for PR 442Alan Somers
2016-10-29impl Send for KEventAlan Somers
2016-10-02Use libc_bitflags! for EventFlagAlan Somers
Don't use it for FilterFlag, because it triggers recursion limit reached error
2016-09-18struct KEvent should wrap an inner libc::kevent structureAlan Somers
2016-09-08Remove macos NOTE_ definitions that aren't in libcAlan Somers
2016-09-08Reconcile with libc changesAlan Somers
The final version of libc's PR #379 removed a few definitions, and fixed OpenBSD's definition of fn kevent.
2016-09-02Define kqueue-related stuff in terms of libcAlan Somers
Change 11aa1f34243d5bbb7d6327a6607bd9d2530f3954 to libc added kqueue-related definitions. They are more accurate and more complete than nix's own definitions. Use them where possible. Also, rationalize Nix's definitions so its public API will be as similar as possible across all OSes.
2016-07-18Fix NetBSD buildTobias Bucher
2016-01-28Move errno::Result back to crate rootarcnmx
2016-01-28Errno::result()arcnmx
2015-12-03NetBSD tweaks for kqueue supportZachary Tong
2015-09-28sys/event: add kevent_ts to better expose kevent timeoutLuca Barbieri
This allows to specify no timeout and allows to specify any timespec timeout.
2015-09-09Add/Fix support for DragonFly BSDMichael Neumann
2015-08-12remove osx-specific Debug implCorey Richardson
2015-05-28Remove std::os::unix::io::RawFd re-exportCarl Lerche
2015-04-03'derive(Copy)' needs Clone nowFlorian Hartwig
2015-03-24NixResult -> nix::Result; NixError -> nix::ErrorCarl Lerche
2015-02-10Add `NixPath`, `NixError`, and `NixResult`.Utkarsh Kukreti
2015-01-27Fix warnings for `rustc 1.0.0-dev (e365e4c05 2015-01-27 08:40:39)`.Utkarsh Kukreti
2015-01-13changed uint and int to usize and isize respectivelyRick Richardson
2015-01-03Update to rust masterValerii Hiora
- cstr fallout - deriving -> derive - lib stabilization warnings removal
2014-12-22Merge remote-tracking branch 'vhbit/ios-support'Carl Lerche
2014-12-22Fixed building on iOSValerii Hiora
2014-12-18Add all now needed ';' after macro invocations.Victor Berger
2014-12-15bitflags! derives Copy for you now, so remove our derivings.Jonathan Reem
2014-12-12Fallout of Copy opt-in for non-LinuxValerii Hiora
Based on #22.
2014-11-28Implement Show for event::EventFlagCarl Lerche
2014-10-31Update source code to new rustcRoma Sokolov
2014-10-10Update static->constTilde Engineering
2014-09-21correctly match the kqueue man pageClark Gaebel
2014-09-20Be warning-free on Darwin.Clark Gaebel
2014-08-25Tweaks + fix accept4Carl Lerche
2014-08-24SysError does not need desc fieldCarl Lerche
2014-08-21Fix O_* flags for Darwin. Minor kqueue tweaks.Carl Lerche
2014-08-21Bind kqueue + misc cleanupCarl Lerche