Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-23 | Update fcntl.rs | Jakub Konka | |
Just a minor typo in the docs of `O_RDWR`. It read: ``` /// Allow both reading and writing. /// /// This should not be combined with `O_WRONLY` or `O_RDWR`. O_RDWR; ``` but I believe it should read ``` /// Allow both reading and writing. /// /// This should not be combined with `O_WRONLY` or `O_RDONLY`. O_RDWR; ``` instead :-) | |||
2018-12-08 | Replace try! with ? | Alan Somers | |
try! is not available in Rust 2018 | |||
2018-10-19 | Add a fchownat(2) wrapper | Julio Merino | |
2018-01-28 | Require Debug impls for all types | Bryant Mairs | |
2018-01-28 | Implement Copy/Clone for all types missing it | Bryant Mairs | |
2018-01-28 | Deny unused qualifications | Bryant Mairs | |
2017-12-20 | Remove unnecessary lifetime annotations | Bryant Mairs | |
2017-12-19 | Fix support for DragonFly | Michael Neumann | |
* DragonFly does not have a O_DSYNC flag * Fix type_of_cmsg_data on DragonFly * No fexecve() on DragonFly * Do not run aio test cases on DragonFly * Keep target lists in alphabetical order * Unscrable #[cfg] directives and use cfg_if! macro instead * Fix errno on DragonFly Below follows an explanation why we have to use a C extension to get errno working on DragonFly: DragonFly uses a thread-local errno variable, but #[thread_local] is feature-gated and not available in stable Rust as of this writing (Rust 1.21.0). We have to use a C extension (src/errno_dragonfly.c) to access it. Tracking issue for `thread_local` stabilization: https://github.com/rust-lang/rust/issues/29594 Once this becomes stable, we can remove build.rs, src/errno_dragonfly.c, remove the build-dependency from Cargo.toml, and use: extern { #[thread_local] static errno: c_int; } Now all targets will use the build.rs script, but only on DragonFly this will do something. Also, there are no additional dependencies for targets other than DragonFly (no gcc dep). | |||
2017-12-04 | Stop reexporting `Errno` and its variants | Jonas Schievink | |
cc #664 (unsure if this is everything needed) | |||
2017-10-07 | Add support for 'fallocate' | Sanchayan Maity | |
2017-08-29 | Use upstream libc definitions for fcntl FFI | Bryant Mairs | |
2017-08-16 | Remove ugly libc_bitflags hack for mac/ios. | Bryant Mairs | |
2017-08-16 | Match libc_bitflags! syntax to upstream bitflags! | Bryant Mairs | |
2017-07-05 | Wrap lines to keep them under 100 chars | equal-l2 | |
2017-07-05 | Unify BSD consts | equal-l2 | |
2017-07-05 | Fix libc is not viable with netbsd | equal-l2 | |
2017-07-04 | Use libc_bitflags! for BSD in fcntl.rs | equal-l2 | |
2017-06-20 | Merge #622 | bors[bot] | |
622: Separate OpenBSD and FreeBSD in fcntl.rs r=asomers Those two OSes cannot be together since the following FreeBSD flags aren't available on OpenBSD. - `O_DIRECT` - `O_EXEC` - `O_TTY_INIT` | |||
2017-06-19 | Separate OpenBSD and FreeBSD in fcntl.rs | equal-l2 | |
2017-06-18 | Update bitflags to 0.9 | equal-l2 | |
2017-03-22 | add support `readlink|readlinkat` | Jörg Thalheim | |
2017-03-21 | add support for `openat` | Jörg Thalheim | |
2017-02-28 | fcntl: Expose FcntlArg variants at the module level | Kamal Marhubi | |
This allows importing them directly from `nix::fcntl` which is more ergonomic than needing to use them via `FcntlArg`. | |||
2017-02-27 | fcntl: Support getting and setting pipe size on Linux | Kamal Marhubi | |
2017-02-19 | Fix the style for bitflags! | Mathias Svensson | |
Prefer libc_bitflags! over bitflags!. Prefer libc::CONSTANTS over writing the constant manually. | |||
2017-02-16 | Update bitflags to 0.7 | Simon Sapin | |
2016-08-26 | Add FcntlArg::F_FULLFSYNC | Markus Unterwaditzer | |
https://developer.apple.com/library/ios/documentation/System/Conceptual/ManPages_iPhoneOS/man2/fsync.2.html | |||
2016-04-20 | fcntl: Use bindings from libc instead of our own | Brian Pearce | |
2016-02-14 | linux: Add splice(2), tee(2), vmsplice(2) | Kamal Marhubi | |
2016-01-28 | Move errno::Result back to crate root | arcnmx | |
2016-01-28 | Errno::result() | arcnmx | |
2016-01-18 | fix on mac | Mattis Marjak | |
2016-01-18 | update libc to 0.2.2 | Mattis Marjak | |
2015-11-20 | netbsd support | Jeremy Fitzhardinge | |
2015-09-09 | Add/Fix support for DragonFly BSD | Michael Neumann | |
2015-08-25 | Add memfd functionality | David Henningsson | |
2015-08-15 | Add flock(2) support | Andy Grover | |
2015-06-24 | Implement more fcntl operations | Andy Grover | |
Derive some more traits on flock to make life easier Change fcntl to return Result<c_int> so we can get results of F_GET* ops. Change pipe2_setflags to match. | |||
2015-05-29 | Basic OpenBSD support. | Laurence Tratt | |
Some of the tests are currently unrunnable, but the basic library is at least buildable. | |||
2015-05-28 | Remove std::os::unix::io::RawFd re-export | Carl Lerche | |
2015-05-21 | Fix NixPath yield with CStr instead of OsStr | Carl Lerche | |
As described in #117, the `AsExtStr` trait is defined to return a raw `*const libc::c_char`. Its impl for `OsStr` simply borrowed the byte slice from its `OsStr` argument and cast it to a `*const libc::c_char`, which does not construct a proper null-terminated C string. Given this, the `AsExtStr` is not necessary and is removed. `NixPath` is updated to yield `CStr`. Fixes #117, #120 Thanks to @dead10ck | |||
2015-05-11 | Get the library to build on freebsd | Andrew J. Stone | |
`cargo build` works. | |||
2015-04-03 | 'derive(Copy)' needs Clone now | Florian Hartwig | |
2015-04-03 | Fd ist now RawFd | Florian Hartwig | |
2015-03-24 | NixResult -> nix::Result; NixError -> nix::Error | Carl Lerche | |
2015-03-19 | Track Rust nightlies | Carl Lerche | |
2015-03-13 | Amend some files to make it compile on arm-linux-androideabi. | kennytm | |
2015-02-27 | Further SockAddr & NixPath cleanup | Carl Lerche | |
2015-02-19 | Re-export std::os::unix::Fd | Carl Lerche | |
2015-02-10 | Add `NixPath`, `NixError`, and `NixResult`. | Utkarsh Kukreti | |