(fd: Fd, queue_selector: QueueSelector)
| 174 | #[inline] |
| 175 | #[doc(alias = "TCFLSH")] |
| 176 | pub fn tcflush<Fd: AsFd>(fd: Fd, queue_selector: QueueSelector) -> io::Result<()> { |
| 177 | backend::termios::syscalls::tcflush(fd.as_fd(), queue_selector) |
| 178 | } |
| 179 | |
| 180 | /// `tcflow(fd, action)`—Suspend or resume transmission or reception. |
| 181 | /// |