Function std::io::stdout [] [src]

pub fn stdout() -> Stdout

Constructs a new reference to the standard output of the current process.

Each handle returned is a reference to a shared global buffer whose access is synchronized via a mutex. Explicit control over synchronization is provided via the lock method.

The returned handle implements the Write trait.