Seth Woolley's Man Viewer

eof(n) - eof, eof - Check for end of file condition on channel - man n eof

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

eof(n)                       Tcl Built-In Commands                      eof(n)

       eof - Check for end of file(1,n) condition on channel

       eof channelId

       Returns  1  if(3,n) an end of file(1,n) condition occurred during the most recent
       input operation on channelId (such as gets(3,n)), 0 otherwise.

       ChannelId must be an identifier for an open(2,3,n) channel such as a Tcl stan-
       dard channel (stdin, stdout, or stderr), the return value from an invo-
       cation of open(2,3,n) or socket(2,7,n), or the result of a channel  creation  command
       provided by a Tcl extension.

       file(1,n)(n), open(2,3,n)(n), close(2,7,n)(n), fblocked(n), Tcl_StandardChannels(3)

       channel, end of file(1,n)

Tcl                                   7.5                               eof(n)

References for this manual (incoming links)