#stdio #stdin #libc #helper #retrieving #function #stdhandle

libc-stdhandle

Helper functions for retrieving stdin, stdout, stderr

1 unstable release

Uses old Rust 2015

0.1.0 Nov 4, 2017

#1959 in Rust patterns

Download history 351/week @ 2024-03-13 551/week @ 2024-03-20 707/week @ 2024-03-27 422/week @ 2024-04-03 478/week @ 2024-04-10 339/week @ 2024-04-17 377/week @ 2024-04-24 499/week @ 2024-05-01 402/week @ 2024-05-08 411/week @ 2024-05-15 375/week @ 2024-05-22 326/week @ 2024-05-29 358/week @ 2024-06-05 459/week @ 2024-06-12 657/week @ 2024-06-19 643/week @ 2024-06-26

2,141 downloads per month
Used in 205 crates (7 directly)

MIT/Apache

3KB

Helper functions for retrieving stdin, stdout, stderr to work with libc.

Get started

Add this to your Cargo.toml:

[dependencies]
libc-stdhandle = "0.8.2"

And you can:

extern crate libc_stdhandle;
use libc_stdhandle::*;

unsafe { stdout() }

lib.rs:

Helper functions for retrieving stdin, stdout, stderr to work with libc.

Dependencies

~225KB