Tcl_Init(3) Tcl Library Procedures Tcl_Init(3)______________________________________________________________________________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 source's the init.tcl
script, which should exist somewhere on the Tcl library path. On Mac‐
intosh systems, it additionally checks for an Init resource and sources
the contents of that resource if init.tcl cannot be found.
Tcl_Init is typically called from Tcl_AppInit procedures.
SEE ALSO
Tcl_AppInit, Tcl_Main
KEYWORDS
application, initialization, interpreter
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌────────────────────┬─────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├────────────────────┼─────────────────┤
│Availability │ SUNWTcl │
├────────────────────┼─────────────────┤
│Interface Stability │ External │
└────────────────────┴─────────────────┘
NOTES
Source for Tcl is available in the SUNWTclS package.
Tcl 8.0 Tcl_Init(3)