summaryrefslogtreecommitdiff
path: root/test/test_sendfile.rs
AgeCommit message (Collapse)Author
2021-05-28Disable sendfile64 on androidTom Dryer
It's not available from libc on that platform.
2021-05-28Add sendfile64Tom Dryer
`sendfile64` is a Linux-specific call with a wider type for the `offset` argument than `sendfile`. This is largely a copy of the existing `sendfile` function and associated test.
2018-05-28Implement sendfile on FreeBSD and DarwinAndrew Morrow
2017-12-20Remove elided 'static lifetimeBryant Mairs
As of Rust 1.17 'static lifetimes are implied when declaring consts.
2017-12-20Use write_all instead of writeBryant Mairs
Several tests make the assumption that all data is written, which is not guaranteed with write(), so use write_all() instead.
2016-02-12linux: Add sendfile(2)Kamal Marhubi