Tcl_Init(3)

Tcl_Init3

Find and source initialization script

Usage

#include <tcl.h>

int
Tcl_Init(interp)

    


    

Arguments

Tcl_Interp *interp (in)

Interpreter to initialize.


    


            

Overview

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.

Keywords

application, initialization, interpreter

From tcl 8.6.16-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.