#libc #stderr #stdout #stdin #helper

libc-stdhandle

Helper functions for retrieving stdin, stdout, stderr

1 unstable release

Uses old Rust 2015

0.1.0 Nov 4, 2017
Download history 65/week @ 2021-05-29 57/week @ 2021-06-05 44/week @ 2021-06-12 65/week @ 2021-06-19 88/week @ 2021-06-26 81/week @ 2021-07-03 86/week @ 2021-07-10 50/week @ 2021-07-17 74/week @ 2021-07-24 28/week @ 2021-07-31 24/week @ 2021-08-07 54/week @ 2021-08-14 27/week @ 2021-08-21 32/week @ 2021-08-28 16/week @ 2021-09-04 17/week @ 2021-09-11

96 downloads per month
Used in ninja-build

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

~170KB