compio_fs

Function stdout

Source
pub fn stdout() -> Stdout
Expand description

Constructs a handle to the standard output of the current process.

Concurrent writes to stdout must be executed with care: Only individual writes to this AsyncWrite are guaranteed to be intact. In particular you should be aware that writes using write_all are not guaranteed to occur as a single write, so multiple threads writing data with write_all may result in interleaved output.