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

Locks stderr and writes to it

The function will flush stderr when done.