Load operating system name, version, and patch into the output strings.
Declared in <bdls_osutil.h>
Load operating system name, version, and patch into the output strings.
static
int
getOsInfo(
bsl::string* osName,
bsl::string* osVersion,
bsl::string* osPatch);
» more...
Load operating system name, version, and patch into the output strings.
static
int
getOsInfo(
std::pmr::string* osName,
std::pmr::string* osVersion,
std::pmr::string* osPatch);
» more...
Load operating system name, version, and patch into the output strings.
static
int
getOsInfo(
std::string* osName,
std::string* osVersion,
std::string* osPatch);
» more...
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| osName | receives the operating system name |
| osVersion | receives the operating system version |
| osPatch | receives the operating system patch level |