Searched refs:HOST_NAME_MAX (Results 1 – 2 of 2) sorted by relevance
16 char hostname[HOST_NAME_MAX]; in GetHostname()17 if (gethostname(hostname, HOST_NAME_MAX) == 0) // Success. in GetHostname()
123 #ifndef HOST_NAME_MAX124 #define HOST_NAME_MAX 255 macro206 char name[HOST_NAME_MAX];2482 char hostname[HOST_NAME_MAX + 1], *domainname; in search_set_from_hostname()