SYNOPSIS
#include <tcl.h>
char * Tcl_GetCwd(interp, bufferPtr)
int Tcl_Chdir(path)
ARGUMENTS
- Tcl_Interp *interp (in)
-
Interpreter in which to report an error, if any.
- Tcl_DString *bufferPtr (in/out)
-
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
Tcl_DStringFree() to free up anything stored here. - char *path (in)
-
File path in UTF-8 format.
DESCRIPTION
These procedures may be used to manipulate the current working directory for the application. They provide C-level access to the same functionality as the Tcl pwd command.
PORTABILITY
Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.4 Documentation Build 39.