(fd: i32, action: i32, vm: &VirtualMachine)
| 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( |
nothing calls this directly
no test coverage detected