summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-04 13:06:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-04 13:06:32 (GMT)
commit96ba124114a77f7be6cfb173ee9084c01f789512 (patch)
treebc97fbb72c240fbdb1326228f8a17e5ab98682e3 /doc
parentde370ec86362c9ec5f013683c78a0faa1e51ed75 (diff)
downloadtcl-96ba124114a77f7be6cfb173ee9084c01f789512.zip
tcl-96ba124114a77f7be6cfb173ee9084c01f789512.tar.gz
tcl-96ba124114a77f7be6cfb173ee9084c01f789512.tar.bz2
Backout [0a9ae478ac], as requested
Diffstat (limited to 'doc')
-rw-r--r--doc/FileSystem.38
-rw-r--r--doc/source.n2
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/FileSystem.3 b/doc/FileSystem.3
index 2db2485..7ac93c8 100644
--- a/doc/FileSystem.3
+++ b/doc/FileSystem.3
@@ -54,7 +54,7 @@ Tcl_Obj *
\fBTcl_FSListVolumes\fR(\fIvoid\fR)
.sp
int
-\fBTcl_FSEvalFileEx\fR(\fIinterp, pathPtr, encoding\fR)
+\fBTcl_FSEvalFileEx\fR(\fIinterp, pathPtr, encodingName\fR)
.sp
int
\fBTcl_FSEvalFile\fR(\fIinterp, pathPtr\fR)
@@ -201,7 +201,7 @@ rename operation.
.AP Tcl_Obj *destPathPtr in
As for \fIpathPtr\fR, but used for the destination filename for a copy or
rename operation.
-.AP "const char" *encoding in
+.AP "const char" *encodingName in
The encoding of the data stored in the
file identified by \fIpathPtr\fR and to be evaluated.
.AP "const char" *pattern in
@@ -415,10 +415,10 @@ accumulates the return values in a list which is returned to the
caller (with a reference count of 0).
.PP
\fBTcl_FSEvalFileEx\fR reads the file given by \fIpathPtr\fR using
-the encoding identified by \fIencoding\fR and evaluates
+the encoding identified by \fIencodingName\fR and evaluates
its contents as a Tcl script. It returns the same information as
\fBTcl_EvalObjEx\fR.
-If \fIencoding\fR is NULL, the system encoding is used for
+If \fIencodingName\fR is NULL, the system encoding is used for
reading the file contents.
If the file could not be read then a Tcl error is returned to describe
why the file could not be read.
diff --git a/doc/source.n b/doc/source.n
index d306765..82fefa6 100644
--- a/doc/source.n
+++ b/doc/source.n
@@ -15,7 +15,7 @@ source \- Evaluate a file or resource as a Tcl script
.SH SYNOPSIS
\fBsource \fIfileName\fR
.sp
-\fBsource\fR \fB\-encoding \fIencoding fileName\fR
+\fBsource\fR \fB\-encoding \fIencodingName fileName\fR
.BE
.SH DESCRIPTION
.PP