Alternate Entry Name: .FLUSH
B: flush( [unit] );
/* C programs use "fflush" */
FLUSH causes the current line to be forced to an end of line condition. On output to a file, this means that a '*n' is written. On output to a terminal-type device, the current line is immediately sent to the device without modification.
On any input unit, the remainder of the current line, up to and including the '*n', is thrown away. Note that if the last character read was a '*n', this will throw away the next line.
FLUSH is not needed to synchronize output to the terminal with input from that device.
Copyright © 1996, Thinkage Ltd.