---
name: "Tcl_Init"
section: "3tcl"
platform: "linux"
package: "tcl8.6-doc"
version: "8.6.16+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Tcl_Init/3tcl"
---

# Tcl\_Init(3tcl)

find and source initialization script

```

```

## NAME

Tcl\_Init - find and source initialization script

## SYNOPSIS

```
#include <tcl.h>

int
Tcl_Init(interp)
```

## ARGUMENTS

- Tcl\_Interp *\*interp* (in)

  Interpreter to initialize.

  ```

  ```

## DESCRIPTION

**Tcl\_Init** is a helper procedure that finds and **source**s the **init.tcl** script, which should exist somewhere on the Tcl library path.

**Tcl\_Init** is typically called from **Tcl\_AppInit** procedures.

## SEE ALSO

Tcl\_AppInit, Tcl\_Main

## KEYWORDS

application, initialization, interpreter
