1Tcl_SourceRCFile(3) Tcl Library Procedures Tcl_SourceRCFile(3)
2
3
4
5______________________________________________________________________________
6
8 Tcl_SourceRCFile - source the Tcl rc file
9
11 #include <tcl.h>
12
13 void
14 Tcl_SourceRCFile(interp)
15
17 Tcl_Interp *interp (in) Tcl interpreter to source rc file
18 into.
19_________________________________________________________________
20
21
23 Tcl_SourceRCFile is used to source the Tcl rc file at startup. It is
24 typically invoked by Tcl_Main or Tk_Main. The name of the file sourced
25 is obtained from the global variable tcl_rcFileName in the interpreter
26 given by interp. If this variable is not defined, or if the file it
27 indicates cannot be found, no action is taken.
28
29
31 application-specific initialization, main program, rc file
32
33
34
35Tcl 8.3 Tcl_SourceRCFile(3)