## Tcl9.0.3/Tk9.0.3 Documentation > Tcl C API > InitSubSyst

### Tcl/Tk Applications | Tcl Commands | Tk Commands | [incr Tcl] Package Commands | SQLite3 Package Commands | TDBC Package Commands | tdbc::mysql Package Commands | tdbc::odbc Package Commands | tdbc::postgres Package Commands | tdbc::sqlite3 Package Commands | Thread Package Commands | Tcl C API | Tk C API | [incr Tcl] Package C API | TDBC Package C API

### NAME

Tcl_InitSubsystems — Tcl 外部函数を初期化する initialize the Tcl library.

### SYNOPSIS

#include <tcl.h>
const char *
Tcl_InitSubsystems()

### 説明 DESCRIPTION

Tcl_InitSubsystems 手続き函数は Tcl 外部函数を初期化する｡この手続き函数は典型的には､応用譜の主算譜内で非常に最初の事柄として起動される｡ 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の結果は､ 機械語翻訳情報を伴う完全Tcl版である(譬えば､9.0.0+abcdef...abcdef.gcc-1002)｡ The result of Tcl_InitSubsystems is the full Tcl version with build information (e.g., 9.0.0+abcdef...abcdef.gcc-1002).

Tcl_InitSubsystemsは使用上はTcl_FindExecutableによく似ている｡ それは､ Tclが諸設備外部函数として使用される時に､ utf-8か iso8859-1か utf-16 以外の符号系が使用され､更には､ info nameofexecutableの値の中に関係する項目はない｡ 系の符号系は､環境からは抽出されない､但し､utf-8に戻る｡ 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 © 2018 Tcl Core Team