diff options
author | hershey <hershey@noemail.net> | 1999-04-16 22:53:43 (GMT) |
---|---|---|
committer | hershey <hershey@noemail.net> | 1999-04-16 22:53:43 (GMT) |
commit | ae0edef68c40464f7d70820d8980e639aaeaed39 (patch) | |
tree | 3977126c2fc9f4c7d38da0d44d1c02a3f8b107b9 /doc/DString.3 | |
parent | 997b31f580d7baebe2c4e486a15cbcab70615bcd (diff) | |
download | tcl-ae0edef68c40464f7d70820d8980e639aaeaed39.zip tcl-ae0edef68c40464f7d70820d8980e639aaeaed39.tar.gz tcl-ae0edef68c40464f7d70820d8980e639aaeaed39.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
FossilOrigin-Name: 401c4cabb05a3bdc401aa51f2d7de8415e89464c
Diffstat (limited to 'doc/DString.3')
-rw-r--r-- | doc/DString.3 | 8 |
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. |