flush(n) Tcl Built-In Commands flush(n) _________________________________________________________________ NAME flush - Flush buffered output for a channel SYNOPSIS flush _c_h_a_n_n_e_l_I_d _________________________________________________________________ DESCRIPTION Flushes any output that has been buffered for _c_h_a_n_n_e_l_I_d. _C_h_a_n_n_e_l_I_d must be a channel identifier such as returned by a previous open or socket command, and it must have been opened for writing. If the channel is in blocking mode the command does not return until all the buffered output has been flushed to the channel. If the channel is in nonblock- ing mode, the command may return before all buffered output has been flushed; the remainder will be flushed in the back- ground as fast as the underlying file or device is able to absorb it. SEE ALSO open(n), socket(n) KEYWORDS blocking, buffer, channel, flush, nonblocking, output Tcl Last change: 7.5 1