Lines Matching refs:__nishostname
149 static char __nishostname[NIS_MAXNAMELEN + 1]; in libnsl_hidden_nolink_def() local
151 if (__nishostname[0] == '\0') in libnsl_hidden_nolink_def()
153 if (gethostname (__nishostname, NIS_MAXNAMELEN) < 0) in libnsl_hidden_nolink_def()
154 __nishostname[0] = '\0'; in libnsl_hidden_nolink_def()
157 char *cp = rawmemchr (__nishostname, '\0'); in libnsl_hidden_nolink_def()
158 int len = cp - __nishostname; in libnsl_hidden_nolink_def()
162 return __nishostname; in libnsl_hidden_nolink_def()
166 __nishostname[0] = '\0'; in libnsl_hidden_nolink_def()
167 return __nishostname; in libnsl_hidden_nolink_def()
172 __nishostname[NIS_MAXNAMELEN] = '\0'; in libnsl_hidden_nolink_def()
176 return __nishostname; in libnsl_hidden_nolink_def()