Debian Codegraph @

doc/SourceRCFile.3

raw
1 '\"
2 '\" Copyright (c) 1998-2000 Scriptics Corporation.
3 '\" All rights reserved.
4 '\"
5 .TH Tcl_SourceRCFile 3 8.3 Tcl "Tcl Library Procedures"
6 .so man.macros
7 .BS
8 .SH NAME
9 Tcl_SourceRCFile \- source the Tcl rc file
10 .SH SYNOPSIS
11 .nf
12 \fB#include <tcl.h>\fR
13 .sp
14 void
15 \fBTcl_SourceRCFile\fR(\fIinterp\fR)
16 .SH ARGUMENTS
17 .AS Tcl_Interp *interp
18 .AP Tcl_Interp *interp in
19 Tcl interpreter to source rc file into.
20 .BE
21
22 .SH DESCRIPTION
23 .PP
24 \fBTcl_SourceRCFile\fR is used to source the Tcl rc file at startup.
25 It is typically invoked by Tcl_Main or Tk_Main. The name of the file
26 sourced is obtained from the global variable \fBtcl_rcFileName\fR in
27 the interpreter given by \fIinterp\fR. If this variable is not
28 defined, or if the file it indicates cannot be found, no action is
29 taken.
30
31 .SH KEYWORDS
32 application-specific initialization, main program, rc file