Debian Codegraph @

doc/Init.3

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