Function dia_args::lock_write_out[][src]

pub fn lock_write_out<B>(bytes: B) -> Result<()> where
    B: AsRef<[u8]>, 

Locks stdout and writes to it

The function will flush stdout when done.