Registry / utility / errno
library0.3.14rscratesunverified

Cross-platform interface to the `errno` variable, providing access to system error codes.

# Cargo.toml [dependencies] errno = "0.3.14"
INSTALL
IMPORT
SIG · ERRNO
E
errno
utilityrustv0.3.14
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.

errno
✓ use errno::errno;

Sets and retrieves the errno value.

use errno::{errno, set_errno, Errno}; fn main() { set_errno(Errno(2)); let e = errno(); println!("errno: {}", e.0); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.14latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
errno — cargo add errno · libregistry