eof Tcl Built-In Commands 7.5
NAME
eof - Check for end of file condition on channel
SYNOPSIS
eof channelId
DESCRIPTION
Returns 1 if an end of file condition occurred during the most recent input operation on channelId (such as gets), 0 otherwise.
SEE ALSO
file, open, close, fblocked
KEYWORDS
channel, end of file