pub fn tcdrain<Fd: AsFd>(fd: Fd) -> Result<()>
Block until all output data is written (see tcdrain(3p)).