ocssw
V2022
|
Go to the source code of this file.
Functions | |
void | replaceOCroots (std::string &str) |
char * | replace_ocroots (const char *inStr) |
Function Documentation
◆ replace_ocroots()
char* replace_ocroots | ( | const char * | inStr | ) |
allocate a new string with environment variable names substituted for the values for: OCVARROOT, OCDATAROOT and OCSSWROOT
- Parameters
-
inStr string to do substitutions on
- Returns
- sanitized string that must be freed by the caller.
Definition at line 37 of file replace_ocroots.cpp.
◆ replaceOCroots()
void replaceOCroots | ( | std::string & | str | ) |
modify the input string with environment variable names substituted for the values for: OCVARROOT, OCDATAROOT and OCSSWROOT
- Parameters
-
str string to do substitutions on
Definition at line 12 of file replace_ocroots.cpp.