Function dia_args::lock_write_err

source ·
pub fn lock_write_err<B>(bytes: B)
where B: AsRef<[u8]>,
Expand description

§Locks stderr and writes to it

  • For simplicity, any error will be caught and printed out via eprintln!().
  • The function will flush stderr when done.