Searched refs:HOST_NAME_MAX (Results 1 – 4 of 4) sorted by relevance
1338 #ifndef HOST_NAME_MAX1340 # define HOST_NAME_MAX _POSIX_HOST_NAME_MAX macro1342 # define HOST_NAME_MAX 255 macro1356 len = HOST_NAME_MAX; in qga_get_host_name()
440 std::array<char, HOST_NAME_MAX> hostNameCStr{}; in getHostName()
1353 char hostname[HOST_NAME_MAX + 1] = {}; in sysInfoReadSystemName()1354 if (gethostname(hostname, HOST_NAME_MAX) != 0) in sysInfoReadSystemName()
369 +#elif HOST_NAME_MAX370 + return HOST_NAME_MAX;