pub fn tcdrain<Fd: AsFd>(fd: Fd) -> Result<()>
Expand description

tcdrain(fd, duration)—Wait until all pending output has been written.

References