tcldoc Tcl/Tk 9.0.4
/

HomeTcl Library Procedures Tcl

Tcl_InitSubsystems C API

Initialize the Tcl library.

literal type exactly as shown argument replace with your value ?optional? may be omitted

Synopsis#

#include <tcl.h>

const char * Tcl_InitSubsystems()#

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.

The result of Tcl_InitSubsystems is the full Tcl version with build information (e.g., 9.0.0+abcdef...abcdef.gcc-1002).

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 utf-8, iso8859-1 or utf-16 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 utf-8.

Keywords#

binary · executable file

Copyright#