Seth Woolley's Man Viewer

fblocked(n) - fblocked, fblocked - Test whether the last input operation exhausted all available input - man n fblocked

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

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

       fblocked  -  Test whether the last input operation exhausted all avail-
       able input

       fblocked channelId

       The fblocked command returns 1 if(3,n) the most recent  input  operation  on
       channelId  returned  less(1,3) information than requested because all avail-
       able input was exhausted.  For example, if(3,n) gets(3,n) is invoked  when  there
       are  only  three  characters  available  for  input  and no end-of-line
       sequence, gets(3,n) returns  an  empty  string(3,n)  and  a  subsequent  call  to
       fblocked will return 1.

       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.

       gets(3,n)(n), open(2,3,n)(n), read(2,n,1 builtins)(n), Tcl_StandardChannels(3)

       blocking, nonblocking

Tcl                                   7.5                          fblocked(n)

References for this manual (incoming links)