1Tcl_SourceRCFile(3)         Tcl Library Procedures         Tcl_SourceRCFile(3)
2
3
4
5______________________________________________________________________________
6

NAME

8       Tcl_SourceRCFile - source the Tcl rc file
9

SYNOPSIS

11       #include <tcl.h>
12
13       void
14       Tcl_SourceRCFile(interp)
15

ARGUMENTS

17       Tcl_Interp   *interp            (in)      Tcl  interpreter to source rc
18                                                 file into.
19_________________________________________________________________
20
21

DESCRIPTION

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       On the Macintosh, after sourcing the rc file, this function will  addi‐
30       tionally  source  the  TEXT  resource  indicated by the global variable
31       tcl_rcRsrcName in interp.
32
33

KEYWORDS

35       application-specific initialization, main program, rc file
36
37
38
39Tcl                                   8.3                  Tcl_SourceRCFile(3)
Impressum