Overview
| Artifact ID: | c85bc18833233a4f3b7792ce5ad4ae1e5363fff9 |
|---|---|
| Ticket: | 402725ffffffffffffffffffffffffffffffffff
Document Tcl's standard channels |
| User & Date: | andreas_kupries on 2001-08-25 03:33:01 |
Changes
- icomment:
Logged In: YES user_id=75003 "It is not tclsh that creates the standard channels. The Tcl library itself creates them as needed, no matter what application the Tcl library has been linked into." Notes about this: The part initializing the standard channels is "Tcl_Main" in TclMain.c. This is physically part of the tcl library, but logically it is "tclsh", because it also does all the interactive stuff. In that respect it is tclsh which initializes the standard channels. And any application not using Tcl_Main will have to initialize the channels by itself, through a call to "Tcl_GetStdChannel". Note: If the application never initializes the standard channels, "Tcl_CreateChannel" won't fill these slots either. So I will accept the patch as is and have a look at the manpages for Tcl_CreateChannel and Tcl_GetStdChannel if they need additional explanations too.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"