Load operating system name, version, and patch into the output strings.
Synopses
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);
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);
Load operating system name, version, and patch into the output strings.
static
int
getOsInfo(
std::string* osName,
std::string* osVersion,
std::string* osPatch);
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