Tcl\_SourceRCFile(3) Tcl Library Procedures Tcl\_SourceRCFile(3)

```

```

# [NAME](#NAME)

Tcl\_SourceRCFile - source the Tcl rc file

# [SYNOPSIS](#SYNOPSIS)

```
#include <tcl.h>

Tcl_SourceRCFile(interp)
```

# [ARGUMENTS](#ARGUMENTS)

Tcl\_Interp *\*interp* (in)

Tcl interpreter to source rc file into.

```
    
```

# [DESCRIPTION](#DESCRIPTION)

**Tcl\_SourceRCFile** 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 **tcl\_rcFileName** in the interpreter given by *interp*. If this variable is not defined, or if the file it indicates cannot be found, no action is taken.

# [KEYWORDS](#KEYWORDS)

application-specific initialization, main program, rc file

8.3 Tcl

---

Document: Tcl_SourceRCFile(3) from tcl 9.1.0-r0 (Chainguard OS)
Source: https://downloads.sourceforge.net/project/tcl/Tcl/9.1.0/tcl9.1.0-src.tar.gz
