Re: Dr. Dobb's Tcl-URL! - weekly Tcl news and links (Oct 31)



Donald Arseneau wrote:
Uwe Klein <tcl-url@xxxxxxxxxxx> writes:


TIP 287 by Michael A. Cleverly : Add a 'chan available' Command


Sounds fine, except for the name. 'chan available' sounds like a test
whether the channel is available.

'chan buffered' is probably no better.


chan readable $chan
returns the number of ?bytes? to read or -1 for eof?

( i always wanted [ fileevent exception ] to catch eof, broken pipe .. )

uwe
.



Relevant Pages