Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std: Implement stdio for std::io #22797

Merged
merged 1 commit into from
Mar 2, 2015
Merged

Commits on Mar 1, 2015

  1. std: Implement stdio for std::io

    This is an implementation of RFC 899 and adds stdio functionality to the new
    `std::io` module. Details of the API can be found on the RFC, but from a high
    level:
    
    * `io::{stdin, stdout, stderr}` constructors are now available. There are also
      `*_raw` variants for unbuffered and unlocked access.
    * All handles are globally shared (excluding raw variants).
    * The stderr handle is no longer buffered.
    * All handles can be explicitly locked (excluding the raw variants).
    
    The `print!` and `println!` machinery has not yet been hooked up to these
    streams just yet. The `std::fmt::output` module has also not yet been
    implemented as part of this commit.
    alexcrichton committed Mar 1, 2015
    Configuration menu
    Copy the full SHA
    94d71f8 View commit details
    Browse the repository at this point in the history