Tcl_Init(3) Tcl Library Procedures Tcl_Init(3)

Tcl_Init - find and source initialization script

#include <tcl.h>

int
Tcl_Init(interp)

Tcl_Interp *interp (in)
Interpreter to initialize.

Tcl_Init is a helper procedure that finds and sources the init.tcl script, which should exist somewhere on the Tcl library path.

Tcl_Init is typically called from Tcl_AppInit procedures.

Tcl_AppInit, Tcl_Main

application, initialization, interpreter

8.0 Tcl