DOC HOME
SITE MAP
MAN PAGES
GNU INFO
SEARCH
eof(TCL)
eof -- check for end-of-file condition on open file
Syntax
eof
fileId
Description
Returns 1 if an end-of-file condition has occurred on
fileId
, 0 otherwise.
fileId
must have been the return value from a previous call to
open
, or it may be
stdin
,
stdout
, or
stderr
to refer to one of the standard I/O channels.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003