Tcl Library Procedures Tcl_SourceRCFile(3TCL)
_________________________________________________________________
NAME
Tcl_SourceRCFile - source the Tcl rc file
SYNOPSIS
#include
voidTcl_SourceRCFile(interp)
ARGUMENTSTcl_Interp *interp (in) Tcl interpreter to
source rc file into._________________________________________________________________
DESCRIPTION
Tcl_SourceRCFile is used to source the Tcl rc file at
startup. It is typically invoked by Tcl_Main or Tk_Main.
The name of the file sourced is obtained from the globalvariable tcl_rcFileName in the interpreter given by interp.
If this variable is not defined, or if the file it indicates cannot be found, no action is taken. On the Macintosh, after sourcing the rc file, this function will additionally source the TEXT resource indicated by theglobal variable tcl_rcRsrcName in interp.
KEYWORDSapplication-specific initialization, main program, rc file
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:_______________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE|
|____________________|__________________|_
| Availability | runtime/tcl-8 |
|____________________|__________________|_
| Interface Stability| Uncommitted ||____________________|_________________|
NOTES Source for Tcl is available on http://opensolaris.org. Tcl Last change: 8.3 1