Tcl Source Code

Check-in [b4f7ce8cba]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed broken man page. Renamed so it matches the C functio name.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | scriptics-tclpro-1-2
Files: files | file ages | folders
SHA1: b4f7ce8cbaebe119d6bb6df9f5a4af8d7f46f880
User & Date: stanton 1999-04-07 03:21:20.000
Context
1999-04-19
20:54
Applied patch to check the result code from 16-bit applications [Bug 1760]. Patch provided by Mark M... check-in: 3a92b2b041 user: redman tags: scriptics-tclpro-1-2
1999-04-07
03:21
Fixed broken man page. Renamed so it matches the C functio name. check-in: b4f7ce8cba user: stanton tags: scriptics-tclpro-1-2
1999-04-06
22:02
Minor man page lint. check-in: 9f85509b91 user: stanton tags: scriptics-tclpro-1-2
Changes
Unified Diff Ignore Whitespace Patch
Deleted doc/CrtVersion.3.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
'\"
'\" Copyright (c) 1999 Scriptics Corporation
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\" 
'\" RCS: @(#) $Id: CrtVersion.3,v 1.1.2.2 1999/04/06 22:02:13 stanton Exp $
'\" 
.so man.macros
.TH Tcl_GetVersion 3 7.5 Tcl "Tcl Library Procedures"
.BS
.SH NAME
Tcl_GetVersion \- get the version of the library at runtime
.SH SYNOPSIS
.nf
\fB#include <tcl.h>\fR
.sp
\fBTcl_GetVersion\fR(\fImajor, minor, patchLevel, type\fR)
.SH ARGUMENTS
.AP int *major out
Major version number of the Tcl library.
.AP int *minor out
Minor version number of the Tcl library.
.AP int *patchLevel out
The patch level of the Tcl library (or alpha or beta number).
.AP Tcl_ReleaseType *type out
The type of release, also indicates the type of patch level. Can be
one of \fBTCL_ALPHA_RELEASE\fR, \fBTCL_BETA_RELEASE\fR, or 
\fBTCL_FINAL_RELEASE\fR.
.BE

.SH DESCRIPTION
.PP
\fBTcl_GetVersion\fR 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 \fBTcl_GetVersion\fR to verify that fact, and possibly to
change the behavior of your extension.
.PP
If may pass a NULL for any of the arguments. For instance if 
you do not care about the \fIpatchLevel\fI of the library, pass
a NULL for the \fIpatchLevel\fI argument.

.SH KEYWORDS
version, patchlevel, major, minor, alpha, beta, release

<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<