setWorkingDirectory overloads

Synopses

Declared in <bdls_filesystemutil.h>

Set the working directory of the current process to the specified path. Return 0 on success and a non‐zero value otherwise. The parameterized STRING_TYPE must be one of bsl::string, std::string, std::pmr::string (if supported), bsl::string_view, or bslstl::StringRef.

static
int
setWorkingDirectory(char const* path);

Same as the overload taking const char *.

template<class STRING_TYPE>
static
int
setWorkingDirectory(STRING_TYPE const& path);

Created with MrDocs