Memory channels 2.1 -- memchan(n)
memchan - Create and manipulate memory channels
SYNOPSISpackage require Tcl
package require memchan
DESCRIPTIONThis manpage documents both the overall package and the command memchan. The package itself provides a number of in-memory channels which can utilized to
Memory channels created by memchan provide two read-only options which can be queried via the standard fconfigure command. These are
As the channels generated by memchan grow as necessary they are always writable. This means that a writable fileevent-handler will fire continuously.
The channels are also readable if they contain more than zero bytes and the seek location is not and the end of the channel. Under these conditions a readable fileevent-handler will fire continuously.
Note that writing to such a channel usually occurs at the end, thus supressing readable events. This also means that users have to take care to seek the channel to a location before the end before trying to read data back.
SEE ALSOfifo, fifo2, null
KEYWORDSmemchan, chunk, in-memory channel, channel, i/o
|Last updated @ Mon Jan 20 14:15:59 PST 2003|
|Andreas Kupries||Last update at Mon Jan 20 14:21:52 PST 2003|