DOKK / manpages / debian 10 / tcl8.6-doc / Tcl_Init.3tcl.en
Tcl_Init(3tcl) Tcl Library Procedures Tcl_Init(3tcl)


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