Method _Stdio.Fd()->tcflush()
- Method
tcflush
bool
tcflush(string(7bit)
|void
flush_direction
)- Description
Flush queued terminal control messages.
- Parameter
flush_direction
"TCIFLUSH"
Flush received but not read.
"TCOFLUSH"
Flush written but not transmitted.
"TCIOFLUSH"
Flush both of the above. Default.
- Returns
Returns
1
on success and0
(zero) on failure.- See also