1Tcl_Init(3) Tcl Library Procedures Tcl_Init(3)
2
3
4
5______________________________________________________________________________
6
8 Tcl_Init - find and source initialization script
9
11 #include <tcl.h>
12
13 int
14 Tcl_Init(interp)
15
17 Tcl_Interp *interp (in) Interpreter to initialize.
18_________________________________________________________________
19
20
22 Tcl_Init is a helper procedure that finds and source's the init.tcl
23 script, which should exist somewhere on the Tcl library path. On Mac‐
24 intosh systems, it additionally checks for an Init resource and sources
25 the contents of that resource if init.tcl cannot be found.
26
27 Tcl_Init is typically called from Tcl_AppInit procedures.
28
29
31 Tcl_AppInit, Tcl_Main
32
33
35 application, initialization, interpreter
36
37
38
39Tcl 8.0 Tcl_Init(3)