Rose::StringUtility::homeDir
Name of the home directory.
Synopsis
Declared in <src/Rose/StringUtility/FileUtility.h>
[[visibility]]
void
homeDir(std::string& dir);
Description
Returns the value of the "HOME" environment variable by copying it into the dir argument. Throws an std::runtime_error if this environment variable is not set.
Parameters
Name |
Description |
dir |
Receives the home directory path. |
Created with MrDocs