Registry / utility / libc-stdhandle

libc-stdhandle

JSON →
library0.1.0rscratesunverified

Helper functions for retrieving stdin, stdout, stderr handles via libc.

# Cargo.toml [dependencies] libc-stdhandle = "0.1.0"
INSTALL
IMPORT
SIG · LIBC-STDHANDLE
L
libc-stdhandle
utilityrustv0.1.0
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.

stdout
use libc_stdhandle::stdout;

Retrieves the stdout file handle using libc_stdhandle.

use libc_stdhandle::stdout; fn main() { let handle = stdout(); println!("stdout handle: {:?}", handle); }
Debug
Known issues
gotchaOnly works on Unix-like systems; not available on Windows.
fix
Use conditional compilation or platform-specific code.
affects: >=0.1.0
Upgrade
Version history
0.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
libc-stdhandle — cargo add libc-stdhandle · libregistry