summaryrefslogtreecommitdiffstats
path: root/contrib/tcl/doc/LinkVar.3
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcl/doc/LinkVar.3')
-rw-r--r--contrib/tcl/doc/LinkVar.36
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/tcl/doc/LinkVar.3 b/contrib/tcl/doc/LinkVar.3
index 88937d8..1926460 100644
--- a/contrib/tcl/doc/LinkVar.3
+++ b/contrib/tcl/doc/LinkVar.3
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" SCCS: @(#) LinkVar.3 1.12 96/03/25 20:04:31
+'\" SCCS: @(#) LinkVar.3 1.13 96/06/05 18:00:14
'\"
.so man.macros
.TH Tcl_LinkVar 3 7.5 Tcl "Tcl Library Procedures"
@@ -83,8 +83,10 @@ Tcl errors.
.TP
\fBTCL_LINK_STRING\fR
The C variable is of type \fBchar *\fR.
+.VS
If its value is not null then it must be a pointer to a string
-allocated with \fBmalloc\fR.
+allocated with \fBTcl_Alloc\fR.
+.VE
Whenever the Tcl variable is modified the current C string will be
freed and new memory will be allocated to hold a copy of the variable's
new value.
OpenPOWER on IntegriCloud