summaryrefslogtreecommitdiffstats
path: root/doc/DString.3
diff options
context:
space:
mode:
authorhershey <hershey>1999-04-16 22:53:43 (GMT)
committerhershey <hershey>1999-04-16 22:53:43 (GMT)
commitedef398a091868bf7168e0e350b5cb8010209f56 (patch)
tree3977126c2fc9f4c7d38da0d44d1c02a3f8b107b9 /doc/DString.3
parentbc1186e23a8f0e592e97b8d8a72f81ac6e69b8c8 (diff)
downloadtcl-edef398a091868bf7168e0e350b5cb8010209f56.zip
tcl-edef398a091868bf7168e0e350b5cb8010209f56.tar.gz
tcl-edef398a091868bf7168e0e350b5cb8010209f56.tar.bz2
added Tcl_DStringTrunc to DString.3
added mention of Tcl_ThreadQueueEvent, Tcl_ThreadAlert to Notifier.3 added Tcl_ThreadQueueEvent, Tcl_ThreadAlert, and Tcl_GetCurrentThread to Thread.3
Diffstat (limited to 'doc/DString.3')
-rw-r--r--doc/DString.38
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/DString.3 b/doc/DString.3
index e8cc5e1..e03f1f0 100644
--- a/doc/DString.3
+++ b/doc/DString.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.
'\"
-'\" RCS: @(#) $Id: DString.3,v 1.2 1998/09/14 18:39:48 stanton Exp $
+'\" RCS: @(#) $Id: DString.3,v 1.3 1999/04/16 22:53:43 hershey Exp $
'\"
.so man.macros
.TH Tcl_DString 3 7.4 Tcl "Tcl Library Procedures"
@@ -36,6 +36,8 @@ char *
.sp
\fBTcl_DStringSetLength\fR(\fIdsPtr, newLength\fR)
.sp
+\fBTcl_DStringTrunc\fR(\fIdsPtr, newLength\fR)
+.sp
\fBTcl_DStringFree\fR(\fIdsPtr\fR)
.sp
\fBTcl_DStringResult\fR(\fIinterp, dsPtr\fR)
@@ -124,6 +126,10 @@ caller to fill in the new space.
even if the string is truncated to zero length, so \fBTcl_DStringFree\fR
will still need to be called.
.PP
+\fBTcl_DStringTrunc\fR changes the length of a dynamic string.
+This procedure is now deprecated. \fBTcl_DStringSetLength\fR should
+be used instead.
+.PP
\fBTcl_DStringFree\fR should be called when you're finished using
the string. It frees up any memory that was allocated for the string
and reinitializes the string's value to an empty string.