summaryrefslogtreecommitdiff
path: root/src/sys/uio.rs
AgeCommit message (Collapse)Author
2021-12-21impl Send and Sync for IoVecAlan Somers
2021-12-20feature-gate most Nix functionsVincent Dagonneau
Using features reduces build time and size for consumer crates. By default all features are enabled.
2021-09-04Enable pwritev and preadv for more operating systems.Alan Somers
2021-09-04Document more thingsAlan Somers
Also, test rustdoc in CI, and demote missing_docs from a deny to a warning (but still deny it in CI).
2021-06-13Add nmount for FreeBSD.Alan Somers
2021-05-13Use https instead of httpRyan Zoeller
2020-05-31Convert the crate to edition 2018Alan Somers
2020-05-16Apply `repr(transparent)` to several FFI typesAlan Somers
repr(transparent) is required in order to safely cast between an FFI type and its NewType. This commit applies that attribute to PollFd, EpollEvent, IpMembershipRequest, Ipv6MembershipRequest, TimeVal, and IoVec. Fixes #1241
2019-06-09Add extra traits for all typesBryant Mairs
Derive Clone, Copy, Eq, Hash, and PartialEq for all types. Not all traits are supported by all types, which is why many are missing some.
2018-07-03Make preadv take immutable slice of IoVecs, fixes #913Jakub OkoĊ„ski
2018-04-18Support preadv/pwritev on BSDsAndrew Morrow
2018-01-28Require Debug impls for all typesBryant Mairs
2018-01-28Implement Copy/Clone for all types missing itBryant Mairs
2017-12-20Use backticks around types/functions in docsBryant Mairs
2017-12-20Remove unnecessary lifetime annotationsBryant Mairs
2017-12-05Remove nix-test subcrateBryant Mairs
This was doing testing for errno constants and a few other types that is no longer necessary now that these types are all tested within the libc project itself.
2017-12-04Stop reexporting `Errno` and its variantsJonas Schievink
cc #664 (unsure if this is everything needed)
2017-11-08Add process_vm_readv and process_vm_writevGeoffrey Thomas
2017-07-17Remove preadv_pwritev feature in favor of conditional includeBryant Mairs
2016-03-10uio: Use bindings from libc instead of our ownKamal Marhubi
Refs https://github.com/nix-rust/nix/issues/264
2016-01-28Move errno::Result back to crate rootarcnmx
2016-01-28Errno::result()arcnmx
2015-10-20Move a few bindings behind featuresCarl Lerche
2015-07-27Make it compatible for Android.Tim JIANG
* Fixed an unused_import error in `termios.rs` for Android. * Fixed undefined references to `preadv` and `pwritev` for Android - At least they don't exist from API level 3 to 21. * Fixed the uid > 0 and gid > 0 checks in `stat`'s tests - Running the tests by root is possible, especially when running on a rooted Android device. Those changes made rust-nix buildable (again) on Android. All the tests passed as well.
2015-07-13Add support for preadv and pwritev to sys/uio on Linux.Trip Volpe
2015-06-17Change pread/pwrite to take offset as a off_t.Holger Rapp
This fixes compile for 32 bit systems like certain ARM
2015-06-05Add pwrite and preadFlorian Hartwig
2015-05-28Remove std::os::unix::io::RawFd re-exportCarl Lerche
2015-03-24NixResult -> nix::Result; NixError -> nix::ErrorCarl Lerche
2015-02-25Large cleanup, mostly of socket functionsCarl Lerche
2015-02-21Fix uio and add SockAddr conversionsCarl Lerche
2015-02-21Cleanup readv & writev + testsCarl Lerche