Set the working directory of the current process to the specified path.
Declared in <bdls_filesystemutil.h>
Set the working directory of the current process to the specified path.
static
int
setWorkingDirectory(char const* path);
» more...
Set the working directory of the current process to the specified path.
template<class STRING_TYPE>
static
int
setWorkingDirectory(STRING_TYPE const& path);
» more...
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| path | filesystem path of the new working directory |