summaryrefslogtreecommitdiffstats
path: root/doc/GetCwd.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-05-25 09:30:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-05-25 09:30:20 (GMT)
commite7ff6cacbcb54ddb99776ccdebc712ac946e583b (patch)
tree52200189ed4442727318a91f9025457075dbb88f /doc/GetCwd.3
parent08902d8a97128693fedfc54e48c9ecb46d78e33f (diff)
downloadtcl-e7ff6cacbcb54ddb99776ccdebc712ac946e583b.zip
tcl-e7ff6cacbcb54ddb99776ccdebc712ac946e583b.tar.gz
tcl-e7ff6cacbcb54ddb99776ccdebc712ac946e583b.tar.bz2
Fix [3f9b4e0c81]: CrtObjCmd.3, NRE.3, SplitList.3: constify cmdName, list
(actually quite a few more where the documentation didn't match the header files ....)
Diffstat (limited to 'doc/GetCwd.3')
-rw-r--r--doc/GetCwd.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/GetCwd.3 b/doc/GetCwd.3
index f4f37a1..b19f587 100644
--- a/doc/GetCwd.3
+++ b/doc/GetCwd.3
@@ -17,7 +17,7 @@ char *
\fBTcl_GetCwd\fR(\fIinterp\fR, \fIbufferPtr\fR)
.sp
int
-\fBTcl_Chdir\fR(\fIpath\fR)
+\fBTcl_Chdir\fR(\fIdirName\fR)
.SH ARGUMENTS
.AS Tcl_DString *bufferPtr in/out
.AP Tcl_Interp *interp in
@@ -27,7 +27,7 @@ This dynamic string is used to store the current working directory.
At the time of the call it should be uninitialized or free. The
caller must eventually call \fBTcl_DStringFree\fR to free up
anything stored here.
-.AP char *path in
+.AP "const char" *dirName in
File path in UTF\-8 format.
.BE
@@ -45,7 +45,7 @@ must call \fBTcl_DStringFree()\fR when the result is no longer needed.
The format of the path is UTF\-8.
.PP
\fBTcl_Chdir\fR changes the applications current working directory to
-the value specified in \fIpath\fR. The format of the passed in string
+the value specified in \fIdirName\fR. The format of the passed in string
must be UTF\-8. The function returns -1 on error or 0 on success.
.SH KEYWORDS