std::string current_hostname()
Retrieve current host name.
std::string current_username()
Retrieve current user name.
std::string stringerror(int errnum)
Textual description of system error messages.
std::string current_domainname()
Retrieve current domain name.