ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



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 some-where somewhere
       where 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



Tcl                                                  8.0                                         Tcl_Init(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.