Query: tcl_getversion
OS: opensolaris
Section: 3tcl
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Tcl_GetVersion(3TCL) Tcl Library Procedures Tcl_GetVersion(3TCL) __________________________________________________________________________________________________________________________________________________NAMETcl_GetVersion - get the version of the library at runtimeSYNOPSIS#include <tcl.h> Tcl_GetVersion(major, minor, patchLevel, type)ARGUMENTSint *major (out) Major version number of the Tcl library. int *minor (out) Minor version number of the Tcl library. int *patchLevel (out) The patch level of the Tcl library (or alpha or beta number). Tcl_ReleaseType *type(out) The type of release, also indicates the type of patch level. Can be one of TCL_ALPHA_RELEASE, TCL_BETA_RELEASE, or TCL_FINAL_RELEASE. _________________________________________________________________DESCRIPTIONTcl_GetVersion should be used to query the version number of the Tcl library at runtime. This is useful when using a dynamically loaded Tcl library or when writing a stubs-aware extension. For instance, if you write an extension that is linked against the Tcl stubs library, it could be loaded into a program linked to an older version of Tcl than you expected. Use Tcl_GetVersion to verify that fact, and possi- bly to change the behavior of your extension. Tcl_GetVersion accepts NULL for any of the arguments. For instance if you do not care about the patchLevel of the library, pass a NULL for the patchLevel argument.KEYWORDSversion, patchlevel, major, minor, alpha, beta, releaseATTRIBUTESSee attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTcl | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+NOTESSource for Tcl is available on http://opensolaris.org. Tcl 7.5 Tcl_GetVersion(3TCL)
Related Man Pages |
---|
tcl_initstubs(3) - mojave |
tcl_initstubs(3) - opendarwin |
tcl_allowexceptions(3tcl) - opensolaris |
tcl_getversion(3tcl) - opensolaris |
tk::tkvars(3) - centos |
Similar Topics in the Unix Linux Community |
---|
Pantheios: 1.0.1 (beta 141) released |
Pantheios: 1.0.1 (beta 157) released |
Pantheios: 1.0.1 (beta 165) released |
Taglib extension library and tools: First release |