Load operating system name, version, and patch into the output strings.
Synopsis
Declared in <bdls_osutil.h>
static
int
getOsInfo(
std::string* osName,
std::string* osVersion,
std::string* osPatch);
Description
Same as the overload taking bsl::string *.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
osName |
receives the operating system name |
osVersion |
receives the operating system version |
osPatch |
receives the operating system patch level |
Created with MrDocs