fblocked(1tcl)


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(1tcl), read(1tcl).

KEYWORDS

blocking, nonblocking
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004