fblocked(n) Tcl Built-In Commands fblocked(n) NAME fblocked - Test whether the last input operation exhausted all avail- able input SYNOPSIS fblocked channelId DESCRIPTION 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. SEE ALSO gets(3,n)(n), open(2,3,n)(n), read(2,n,1 builtins)(n), Tcl_StandardChannels(3) KEYWORDS blocking, nonblocking Tcl 7.5 fblocked(n)