Function termios::tcdrain
[−]
[src]
pub fn tcdrain(fd: RawFd) -> Result<()>
Blocks until all output written to the file descriptor is transmitted.
Parameters
fd
should be an open file descriptor associated with a terminal.