summaryrefslogtreecommitdiffstats
path: root/doc/GetCwd.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/GetCwd.3')
-rw-r--r--[-rwxr-xr-x]doc/GetCwd.38
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/GetCwd.3 b/doc/GetCwd.3
index 554d6e3..f4f37a1 100755..100644
--- a/doc/GetCwd.3
+++ b/doc/GetCwd.3
@@ -3,11 +3,9 @@
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-'\"
-'\" RCS: @(#) $Id: GetCwd.3,v 1.6 2004/10/07 14:44:32 dkf Exp $
-'\"
-.so man.macros
+'\"
.TH Tcl_GetCwd 3 8.1 Tcl "Tcl Library Procedures"
+.so man.macros
.BS
.SH NAME
Tcl_GetCwd, Tcl_Chdir \- manipulate the current working directory
@@ -41,7 +39,7 @@ the same functionality as the Tcl \fBpwd\fR command.
.PP
\fBTcl_GetCwd\fR returns a pointer to a string specifying the current
directory, or NULL if the current directory could not be determined.
-If NULL is returned, an error message is left in the interp's result.
+If NULL is returned, an error message is left in the \fIinterp\fR's result.
Storage for the result string is allocated in bufferPtr; the caller
must call \fBTcl_DStringFree()\fR when the result is no longer needed.
The format of the path is UTF\-8.