Tcl 8.7/Tk8.7a5 Documentation > Tcl C API > InitSubSyst

Tcl/Tk Applications | Tcl Commands | Tk Commands | Tcl C API | Tk C API

NAME

Tcl_InitSubsystems — initialize the Tcl library.

SYNOPSIS

#include <tcl.h>
void
Tcl_InitSubsystems(void)

DESCRIPTION

The Tcl_InitSubsystems procedure initializes the Tcl library. This procedure is typically invoked as the very first thing in the application's main program.

Tcl_InitSubsystems is very similar in use to Tcl_FindExecutable. It can be used when Tcl is used as utility library, no other encodings than utf8, iso8859-1 or unicode are used, and no interest exists in the value of info nameofexecutable. The system encoding will not be extracted from the environment, but falls back to iso8859-1.

KEYWORDS

binary, executable file
Copyright © 2018 Tcl Core Team