MCPcopy Index your code
hub / github.com/RustPython/RustPython / tcflow

Function tcflow

crates/stdlib/src/termios.rs:258–261  ·  view source on GitHub ↗
(fd: i32, action: i32, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

256
257 #[pyfunction]
258 fn tcflow(fd: i32, action: i32, vm: &VirtualMachine) -> PyResult<()> {
259 termios::tcflow(fd, action).map_err(|e| termios_error(e, vm))?;
260 Ok(())
261 }
262
263 fn termios_error(err: std::io::Error, vm: &VirtualMachine) -> PyBaseExceptionRef {
264 vm.new_os_subtype_error(

Callers

nothing calls this directly

Calls 1

termios_errorFunction · 0.85

Tested by

no test coverage detected