MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / tcflush

Function tcflush

src/termios/tc.rs:176–178  ·  view source on GitHub ↗
(fd: Fd, queue_selector: QueueSelector)

Source from the content-addressed store, hash-verified

174#[inline]
175#[doc(alias = "TCFLSH")]
176pub 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///

Callers 1

test_termios_flushFunction · 0.50

Calls 1

as_fdMethod · 0.45

Tested by 1

test_termios_flushFunction · 0.40