Line | |
---|
1 | '\" |
---|
2 | '\" Copyright (c) 1998-2000 by Scriptics Corporation. |
---|
3 | '\" All rights reserved. |
---|
4 | '\" |
---|
5 | '\" RCS: @(#) $Id: Init.3,v 1.6 2007/12/13 15:22:31 dgp Exp $ |
---|
6 | '\" |
---|
7 | .so man.macros |
---|
8 | .TH Tcl_Init 3 8.0 Tcl "Tcl Library Procedures" |
---|
9 | .BS |
---|
10 | .SH NAME |
---|
11 | Tcl_Init \- find and source initialization script |
---|
12 | .SH SYNOPSIS |
---|
13 | .nf |
---|
14 | \fB#include <tcl.h>\fR |
---|
15 | .sp |
---|
16 | int |
---|
17 | \fBTcl_Init\fR(\fIinterp\fR) |
---|
18 | .SH ARGUMENTS |
---|
19 | .AS Tcl_Interp *interp |
---|
20 | .AP Tcl_Interp *interp in |
---|
21 | Interpreter to initialize. |
---|
22 | .BE |
---|
23 | |
---|
24 | .SH DESCRIPTION |
---|
25 | .PP |
---|
26 | \fBTcl_Init\fR is a helper procedure that finds and \fBsource\fRs the |
---|
27 | \fBinit.tcl\fR script, which should exist somewhere on the Tcl library |
---|
28 | path. |
---|
29 | .PP |
---|
30 | \fBTcl_Init\fR is typically called from \fBTcl_AppInit\fR procedures. |
---|
31 | |
---|
32 | .SH "SEE ALSO" |
---|
33 | Tcl_AppInit, Tcl_Main |
---|
34 | |
---|
35 | .SH KEYWORDS |
---|
36 | application, initialization, interpreter |
---|
Note: See
TracBrowser
for help on using the repository browser.