-Q9S- perform a non-blocking read on a file identifier?

From: -X-  How, in Tk, can I XXX:

A9S.  From Frank Smith <frank@arraysystems.nstn.ns.ca> we are told that
if you have Extended Tcl, you can

   read $fileId [fstat $fileId size]

This will read only the number of bytes currently available on 'fileId'
and consequently will not block.
Go Back Up

Go To Previous

Go To Next