memchan - C API for creating memory channels
SYNOPSIS
package require Tcl
package require memchan
|
Each of these functions creates an returns a channel exactly as described in the Tcl command pages for each of the memchan commands. The Tcl commands internally call these functions to create the channels.
The memchan channel accepts an initialSize argument to permit pre-allocating space for the internal buffer. Normally this may be set to 0.
The fifo2 API function looks a little different because it must
return two linked channels.
SEE ALSO
Tcl_GetChannelName
COPYRIGHT
Copyright (c) 2004 Pat Thoyts <patthoyts@users.sourceforge.net>