BmnRoot
Loading...
Searching...
No Matches
System.h
Go to the documentation of this file.
1// Copyright 2013 Jan de Cuveland <cmail@cuveland.de>
4#pragma once
5
6#include <string>
7
8namespace fles
9{
11namespace system
12{
22std::string stringerror(int errnum);
23
32std::string current_username();
33
42std::string current_hostname();
43
52std::string current_domainname();
53
54} // namespace system
55} // namespace fles
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.
Main FLES namespace.