Skip to main content

write_to_master

Function write_to_master 

pub(crate) fn write_to_master(master: &Mutex<impl Write>, bytes: &[u8])
Expand description

Write bytes to the PTY master, logging a failure.

ยงArguments

  • master - PTY master writer.
  • bytes - Bytes to write.