Home
last modified time | relevance | path

Searched refs:__nishostname (Results 1 – 1 of 1) sorted by relevance

/glibc-2.36/nis/
Dnis_local_names.c149 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()
[all …]