MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / flush_output

Method flush_output

devices/src/legacy/serial.rs:180–185  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

178 }
179
180 pub fn flush_output(&mut self) -> result::Result<(), io::Error> {
181 if let Some(out) = self.out.as_mut() {
182 out.flush()?;
183 }
184 Ok(())
185 }
186
187 fn is_dlab_set(&self) -> bool {
188 (self.line_control & LCR_DLAB_BIT) != 0

Callers 1

trigger_pty_flushMethod · 0.45

Calls 1

flushMethod · 0.45

Tested by

no test coverage detected