Artifact 47e00d7015aa9158a749894c8bb3dff0749bb1870637f83e8feec092fbae80be:
- File doc/markdown/InitSubSyst.md — part of check-in [61e103c3e2] at 2025-07-20 07:06:12 on branch tip-700 — - added 55 section 3 manual pages in initial markdown versions - unified bold font for #include line in TclZlib.3 - removed unnecessary blank line in AddErrInfo.3, GetHostName.3 - unwrapped lines in Synopsis section of CrtAlias.3, FileSystem.3, NRE.3, Method.3 to avoid line breaks - removed prefixed dash from Markdown 'version' attribute - more documentation (user: Torsten, size: 1032) [annotate] [blame] [check-ins using]
CommandName: Tcl_InitSubsystems ManualSection: 3 Version: 9.0 TclPart: Tcl TclDescription: Tcl Library Procedures Keywords:
- binary
- executable file Copyright:
- Copyright (c) 2018 Tcl Core Team ---
Name
Tcl_InitSubsystems - initialize the Tcl library.
Synopsis
::: {.synopsis} ::: #include <tcl.h> [const char *]{.ret} [Tcl_InitSubsystems]{.ccmd}[]{.cargs} :::
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.