#stdin #stdout #libc #helper #stderr #functions #retrieving

libc-stdhandle

Helper functions for retrieving stdin, stdout, stderr

1 unstable release

Uses old Rust 2015

0.1.0 Nov 4, 2017

#1936 in Rust patterns

Download history 1975/week @ 2023-11-20 1670/week @ 2023-11-27 1221/week @ 2023-12-04 806/week @ 2023-12-11 889/week @ 2023-12-18 418/week @ 2023-12-25 619/week @ 2024-01-01 954/week @ 2024-01-08 1183/week @ 2024-01-15 1056/week @ 2024-01-22 1202/week @ 2024-01-29 782/week @ 2024-02-05 405/week @ 2024-02-12 323/week @ 2024-02-19 428/week @ 2024-02-26 358/week @ 2024-03-04

1,525 downloads per month
Used in 205 crates (6 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

~210KB