Scroll to navigation

Tcl_Init(3tcl) Tcl Library Procedures Tcl_Init(3tcl)


NAME

Tcl_Init - find and source initialization script

SYNOPSIS

#include <tcl.h>

int
Tcl_Init(interp)

ARGUMENTS

Tcl_Interp *interp (in)
Interpreter to initialize.
    

DESCRIPTION

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.

SEE ALSO

Tcl_AppInit, Tcl_Main

KEYWORDS

application, initialization, interpreter

8.0 Tcl