24 #ifndef __UTILS_SYSTEM_HOSTINFO_H_ 25 #define __UTILS_SYSTEM_HOSTINFO_H_ 50 struct ::utsname *utsname;
const char * short_name()
Get short hostname (up to first dot).
const char * arch()
Get architecture (like i686 or x86_64).
void update()
Update information.
Fawkes library namespace.
const char * domain()
Get domain name (after first dot or none if no dot in name).
const char * sys_version()
Get system version (build date on Linux).
const char * name()
Get full hostname.
const char * sys_name()
Get system name (like Linux).
const char * sys_release()
Get system release (kernel version on Linux).