-
Notifications
You must be signed in to change notification settings - Fork 7
this_process working_directory
Alairion edited this page May 8, 2021
·
2 revisions
nes::this_process::working_directory
(1) std::string working_directory();
- Returns the current process's working directory.
None.
- Returns UTF-8 encoded
std::string
that is the absolute path of current process's working directory.
- May throw any exception thrown by
std::string
.
- On Windows, calls
GetCurrentDirectoryW
On Posix systems, callsgetcwd
.