diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-07-25 19:27:55 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-07-25 19:27:55 +0000 |
commit | 3d33409926539d866dcea9fc5cb14113b312adf0 (patch) | |
tree | d2f88b3e9ffa79ffb2cc1a0699dd3ee96c47c3e5 /contrib/tcl/doc/SplitList.3 | |
parent | 8569730d6bc2e4cb5e784997313325b13518e066 (diff) |
Notes
Diffstat (limited to 'contrib/tcl/doc/SplitList.3')
-rw-r--r-- | contrib/tcl/doc/SplitList.3 | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/contrib/tcl/doc/SplitList.3 b/contrib/tcl/doc/SplitList.3 index a1364502a055d..a250c8fb335fb 100644 --- a/contrib/tcl/doc/SplitList.3 +++ b/contrib/tcl/doc/SplitList.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: @(#) SplitList.3 1.20 96/06/05 18:00:16 +'\" SCCS: @(#) SplitList.3 1.21 97/04/29 14:07:10 '\" .so man.macros .TH Tcl_SplitList 3 7.5 Tcl "Tcl Library Procedures" @@ -24,9 +24,19 @@ char * .sp int \fBTcl_ScanElement\fR(\fIsrc, flagsPtr\fR) +.VS +.sp +int +\fBTcl_ScanCountedElement\fR(\fIsrc, length, flagsPtr\fR) +.VE .sp int \fBTcl_ConvertElement\fR(\fIsrc, dst, flags\fR) +.VS +.sp +int +\fBTcl_ConvertCountedElement\fR(\fIsrc, length, dst, flags\fR) +.VE .SH ARGUMENTS .AS Tcl_Interp ***argvPtr .AP Tcl_Interp *interp out @@ -53,6 +63,10 @@ String that is to become an element of a list. .AP int *flagsPtr in Pointer to word to fill in with information about \fIsrc\fR. The value of *\fIflagsPtr\fR must be passed to \fBTcl_ConvertElement\fR. +.VS +.AP int length in +Number of bytes in string \fIsrc\fR. +.VE .AP char *dst in Place to copy converted list element. Must contain enough characters to hold converted string. @@ -165,6 +179,13 @@ special situations, such as when \fBTcl_ConvertElement\fR is being used to generate a portion of an argument for a Tcl command. In this case, surrounding \fIsrc\fR with curly braces would cause the command not to be parsed correctly. +.PP +.VS +\fBTcl_ScanCountedElement\fR and \fBTcl_ConvertCountedElement\fR are +the same as \fBTcl_ScanElement\fR and \fBTcl_ConvertElement\fR, except +the length of string \fIsrc\fR is specified by the \fIlength\fR +argument, and the string may contain embedded nulls. +.VE .SH KEYWORDS backslash, convert, element, list, merge, split, strings |