Searched refs:host_name_max (Results 1 – 1 of 1) sorted by relevance
31 size_t host_name_max = (size_t)sysconf(_SC_HOST_NAME_MAX); in grpc_gethostname() local32 char* hostname = (char*)gpr_malloc(host_name_max); in grpc_gethostname()33 if (gethostname(hostname, host_name_max) != 0) { in grpc_gethostname()