24#ifndef NAWA_OPERATINGSYSTEMSPECIFIC_H
25#define NAWA_OPERATINGSYSTEMSPECIFIC_H
36 return fileStat.st_mtim.tv_sec;
38 return fileStat.st_mtimespec.tv_sec;
44 char chostname[HOST_NAME_MAX + 1];
46 char chostname[_POSIX_HOST_NAME_MAX + 1];
48 gethostname(chostname,
sizeof chostname);
49 return std::string(chostname);
54 return std::string(program_invocation_short_name);
56 return std::string(getprogname());
int * getGIDPtrForGetgrouplist(gid_t *in)
std::string getProgramInvocationName()
time_t getLastModifiedTimeOfFile(struct stat const &fileStat)
std::string getSystemHostname()
This file will be configured by CMake and contains system attributes.