Registry / other / unix
library0.6.12rscratesunverified

Interface to Unix system facilities, providing low-level system call wrappers.

# Cargo.toml [dependencies] unix = "0.6.12"
INSTALL
IMPORT
SIG · UNIX
U
unix
otherrustv0.6.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fork
use unix::process::fork;

Forks the current process into parent and child.

use unix::process::fork; fn main() { match fork() { Ok(0) => println!("Child process"), Ok(pid) => println!("Parent process, child pid: {}", pid), Err(e) => eprintln!("Fork failed: {}", e), } }
Debug
Known issues
gotchaUnix-only, not available on Windows
fix
Use conditional compilation or target Unix platforms
affects: >=0.6.0
Upgrade
Version history
0.6.12latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
unix — cargo add unix · libregistry