Manpages

Manpage of Tcl_Init

Tcl_Init

Section: Tcl Library Procedures (3)
Updated: 8.0
Index
Return to Main Contents



 

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 Macintosh 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


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
SEE ALSO
KEYWORDS

This document was created by man2html, using the manual pages.
Time: 17:31:19 GMT, April 19, 2024