summaryrefslogtreecommitdiffstats
path: root/doc/Encoding.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-21 14:19:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-21 14:19:59 (GMT)
commit0726ab17a254f87dcee64add378c07c5f893bb7c (patch)
treee95908ffb9e861b5d612623414123de1f5baaebd /doc/Encoding.3
parentfbc1385f022d052dc79c90424606cb96b8964b93 (diff)
parentb39c277e12e6135a57caca867bb94569bd4bbb10 (diff)
downloadtcl-0726ab17a254f87dcee64add378c07c5f893bb7c.zip
tcl-0726ab17a254f87dcee64add378c07c5f893bb7c.tar.gz
tcl-0726ab17a254f87dcee64add378c07c5f893bb7c.tar.bz2
Merge 9.0
Diffstat (limited to 'doc/Encoding.3')
-rw-r--r--doc/Encoding.34
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/Encoding.3 b/doc/Encoding.3
index d95ca89..52e7852 100644
--- a/doc/Encoding.3
+++ b/doc/Encoding.3
@@ -208,7 +208,7 @@ used. The return value is a pointer to the value stored in the DString.
\fBTcl_ExternalToUtfDStringEx\fR is the same as \fBTcl_ExternalToUtfDString\fR,
but it has an additional flags parameter. The return value is the index of
the first byte in the input string causing a conversion error.
-Or (size_t)-1 if all is OK.
+Or TCL_INDEX_NONE if all is OK.
.PP
\fBTcl_ExternalToUtf\fR converts a source buffer \fIsrc\fR from the specified
\fIencoding\fR into UTF-8. Up to \fIsrcLen\fR bytes are converted from the
@@ -251,7 +251,7 @@ a pointer to the value stored in the DString.
\fBTcl_UtfToExternalDStringEx\fR is the same as \fBTcl_UtfToExternalDString\fR,
but it has an additional flags parameter. The return value is the index of
the first byte of an utf-8 byte-sequence in the input string causing a
-conversion error. Or (size_t)-1 if all is OK.
+conversion error. Or TCL_INDEX_NONE if all is OK.
.PP
\fBTcl_UtfToExternal\fR converts a source buffer \fIsrc\fR from UTF-8 into
the specified \fIencoding\fR. Up to \fIsrcLen\fR bytes are converted from