summaryrefslogtreecommitdiffstats
path: root/doc/Init.3
diff options
context:
space:
mode:
authorericm <ericm>2000-04-28 00:47:48 (GMT)
committerericm <ericm>2000-04-28 00:47:48 (GMT)
commit492f9b8edd489f07ffd0741d0e9f23c0433334f9 (patch)
treec70d29c07b6abff4ba916f336d2e2ccda9b256e3 /doc/Init.3
parent6061ec2039f13f53e1483b78e8e3e21c9b44df35 (diff)
downloadtcl-492f9b8edd489f07ffd0741d0e9f23c0433334f9.zip
tcl-492f9b8edd489f07ffd0741d0e9f23c0433334f9.tar.gz
tcl-492f9b8edd489f07ffd0741d0e9f23c0433334f9.tar.bz2
* doc/library.n: Added entries for auto_qualify and auto_import [Bug: 1271].
* doc/Init.3: Manual entry for Tcl_Init [Bug: 1820]. * doc/expr.n: Added documentation for each of the math library functions that expr supports [Bug: 1054].
Diffstat (limited to 'doc/Init.3')
-rw-r--r--doc/Init.337
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/Init.3 b/doc/Init.3
new file mode 100644
index 0000000..8066fd3
--- /dev/null
+++ b/doc/Init.3
@@ -0,0 +1,37 @@
+'\"
+'\" Copyright (c) 1998-2000 by Scriptics Corporation.
+'\" All rights reserved.
+'\"
+'\" RCS: @(#) $Id: Init.3,v 1.1 2000/04/28 00:47:48 ericm Exp $
+'\"
+.so man.macros
+.TH Tcl_Init 3 8.0 Tcl "Tcl Library Procedures"
+.BS
+.SH NAME
+Tcl_Init \- find and source initialization script
+.SH SYNOPSIS
+.nf
+\fB#include <tcl.h>\fR
+.sp
+int
+\fBTcl_Init\fR(\fIinterp\fR)
+.SH ARGUMENTS
+.AP Tcl_Interp *interp in
+Interpreter to initialize.
+.BE
+
+.SH DESCRIPTION
+.PP
+\fBTcl_Init\fR is a helper procedure that finds and \fBsource\fR's the
+\fBinit.tcl\fR script, which should exist somewhere on the Tcl library
+path. On Macintosh systems, it additionally checks for an \fBInit\fR
+resource and sources the contents of that resource if \fBinit.tcl\fR
+cannot be found.
+.PP
+\fBTcl_Init\fR is typically called from \fBTcl_AppInit\fR procedures.
+
+.SH "SEE ALSO"
+Tcl_AppInit, Tcl_Main
+
+.SH KEYWORDS
+application, initialization, interpreter