SourceRCFile.3
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:1k
- '"
- '" Copyright (c) 1998-2000 by Scriptics Corporation.
- '" All rights reserved.
- '"
- '" RCS: @(#) $Id: SourceRCFile.3,v 1.1 2000/04/25 00:28:06 ericm Exp $
- '"
- '"
- .so man.macros
- .TH Tcl_SourceRCFile 3 8.3 Tcl "Tcl Library Procedures"
- .BS
- .SH NAME
- Tcl_SourceRCFile - source the Tcl rc file
- .SH SYNOPSIS
- .nf
- fB#include <tcl.h>fR
- .sp
- void
- fBTcl_SourceRCFilefR(fIinterpfR)
- .SH ARGUMENTS
- .AP Tcl_Interp *interp in
- Tcl interpreter to source rc file into.
- .BE
- .SH DESCRIPTION
- .PP
- fBTcl_SourceRCFilefR is used to source the Tcl rc file at startup.
- It is typically invoked by Tcl_Main or Tk_Main. The name of the file
- sourced is obtained from the global variable fBtcl_rcFileNamefR in
- the interpreter given by fIinterpfR. If this variable is not
- defined, or if the file it indicates cannot be found, no action is
- taken.
- .PP
- On the Macintosh, after sourcing the rc file, this function will
- additionally source the TEXT resource indicated by the global variable
- fBtcl_rcRsrcNamefR in fIinterpfR.
- .SH KEYWORDS
- application-specific initialization, main program, rc file