fblocked(TCL)


fblocked -- test whether the last input operation exhausted all available input

Synopsis

fblocked channelId

Description

The fblocked command returns 1 if the most recent input operation on channelId returned less information than requested because all available input was exhausted.

For example, if gets is invoked when there are only three characters available for input and no end-of-line sequence, gets returns an empty string and a subsequent call to fblocked will return 1.

References

gets(TCL), read(TCL).

KEYWORDS

blocking, nonblocking
02 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005