Crate nix

source ·
Expand description

Rust friendly bindings to the various *nix system functions.

Modules are structured according to the C header file that they would be defined in.

Re-exports

pub use libc;

Modules

Environment variables
Feature tests for OS functionality
Functionality involving network interfaces
Wait for events to trigger on specific file descriptors
Execution scheduling
Mostly platform-specific functionality
Safe wrappers around functions found in libc “unistd.h” header

Macros

Create a buffer large enough for storing some control messages as returned by recvmsg.

Traits

Common trait used to represent file system paths by many Nix functions.

Type Definitions

Nix’s main error type.
Nix Result Type