Function std::old_io::stdio::stdinUnstable [-] [+] [src]

pub fn stdin() -> StdinReader

Creates a new handle to the stdin of the current process.

The returned handle is a wrapper around a global BufferedReader shared by all threads. If buffered access is not desired, the stdin_raw function is provided to provided unbuffered access to stdin.

See stdout() for more notes about this function.