Searched refs:hf (Results 1 – 2 of 2) sorted by relevance
83 sethostent_r(FILE **hf) in sethostent_r() argument85 if (!*hf) in sethostent_r()86 *hf = fopen(_PATH_HOSTS, "re"); in sethostent_r()88 rewind(*hf); in sethostent_r()92 endhostent_r(FILE **hf) in endhostent_r() argument94 if (*hf) { in endhostent_r()95 (void)fclose(*hf); in endhostent_r()96 *hf = NULL; in endhostent_r()147 FILE *hf; in _hf_gethtbyname2() local153 hf = NULL; in _hf_gethtbyname2()[all …]
929 netbsd_gethostent_r(FILE *hf, struct hostent *hent, char *buf, size_t buflen, int *he) in netbsd_gethostent_r() argument939 if (hf == NULL) { in netbsd_gethostent_r()957 if (!fgets(p, line_buf_size, hf)) { in netbsd_gethostent_r()