Tcl_Init(3tcl)

Tcl_Init3tcl

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

Releases

12 releases since Debian 3.0 (Woody); the text changed 7 times.

  1. 3.0
  2. 3.1–4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8–9
  7. 10
  8. 11–13

From tcl8.6-doc 8.6.16+dfsg-1 in Debian 13 (Trixie). Also shipped by tcl9.0-doc. Parsed by carta from the page's man source.