1 unstable release
Uses old Rust 2015
0.1.0 | Nov 12, 2016 |
---|
#13 in #unix-file
585KB
afio
This crate is 2 functions that wrap the fnctl function from C to modify File Descriptors to be non-blocking. It also offers bindings to mio EventedFd to make construction easier.
To use this crate, well don't be on Windows. OSX/MacOS, Linux, FreeBSD, OpenBSD, etc. are supported. Add the below to your Cargo.toml
to use this crate.
[dependencies]
afio = "0.1"
lib.rs
:
Make File Descriptors Nonblocking
Creates a simple interface around fcntl to set file descriptors as non
blocking. This crate will work on all unix
systems as classified by
Rust.