Docs.rs
nix-0.28.0
nix 0.28.0
Permalink
Docs.rs crate page
MIT
Links
Repository
Crates.io
Source
Owners
carllerche
github:nix-rust:nix-maintainers
Dependencies
bitflags ^2.3.1
normal
cfg-if ^1.0
normal
libc ^0.2.153
normal
memoffset ^0.9
normal
optional
pin-utils ^0.1.0
normal
optional
assert-impl ^0.1
dev
parking_lot ^0.12
dev
rand ^0.8
dev
semver ^1.0.7
dev
tempfile ^3.7.1
dev
cfg_aliases ^0.1.1
build
caps ^0.5.3
dev
sysctl ^0.4
dev
Versions
100%
of the crate is documented
Platform
aarch64-apple-ios
aarch64-linux-android
x86_64-apple-darwin
x86_64-unknown-freebsd
x86_64-unknown-illumos
x86_64-unknown-linux-gnu
x86_64-unknown-netbsd
x86_64-unknown-redox
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
nix
0.28.0
Module sendfile
Functions
In nix::sys
?
Module
nix
::
sys
::
sendfile
source
·
[
−
]
Available on
crate feature
zerocopy
only.
Expand description
Send data from a file to a socket, bypassing userland.
Functions
§
sendfile
Read bytes from
in_fd
starting at
offset
and write up to
count
bytes to
out_sock
.