Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tcl_getversion(3) [suse man page]

Tcl_GetVersion(3)					      Tcl Library Procedures						 Tcl_GetVersion(3)

__________________________________________________________________________________________________________________________________________________

NAME
Tcl_GetVersion - get the version of the library at runtime SYNOPSIS
#include <tcl.h> Tcl_GetVersion(major, minor, patchLevel, type) ARGUMENTS
int *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. _________________________________________________________________ DESCRIPTION
Tcl_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. KEYWORDS
version, patchlevel, major, minor, alpha, beta, release Tcl 7.5 Tcl_GetVersion(3)

Check Out this Related Man Page

Tcl_GetVersion(3)					      Tcl Library Procedures						 Tcl_GetVersion(3)

__________________________________________________________________________________________________________________________________________________

NAME
Tcl_GetVersion - get the version of the library at runtime SYNOPSIS
#include <tcl.h> Tcl_GetVersion(major, minor, patchLevel, type) ARGUMENTS
int *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. _________________________________________________________________ DESCRIPTION
Tcl_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. KEYWORDS
version, patchlevel, major, minor, alpha, beta, release Tcl 7.5 Tcl_GetVersion(3)
Man Page

We Also Found This Discussion For You

1. Shell Programming and Scripting

Trying to Parse Version Information from Text File

I have a file name version.properties with the following data: major.version=14 minor.version=234 I'm trying to write a grep expression to only put "14" to stdout. The following is not working. grep "major.version=(+)" version.properties What am I doing wrong? (6 Replies)
Discussion started by: obfunkhouser
6 Replies