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