#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

#10 in #retrieving

Download history 287/week @ 2024-11-16 351/week @ 2024-11-23 554/week @ 2024-11-30 615/week @ 2024-12-07 433/week @ 2024-12-14 239/week @ 2024-12-21 153/week @ 2024-12-28 378/week @ 2025-01-04 506/week @ 2025-01-11 609/week @ 2025-01-18 219/week @ 2025-01-25 301/week @ 2025-02-01 282/week @ 2025-02-08 291/week @ 2025-02-15 416/week @ 2025-02-22 393/week @ 2025-03-01

1,478 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

~0.4–350KB