Searched refs:hostf (Results 1 – 4 of 4) sorted by relevance
23 FILE* hostf; member
87 if (rs->hostf) { /* should not happen in theory, but just be safe */ in _res_static_done()88 fclose(rs->hostf); in _res_static_done()89 rs->hostf = NULL; in _res_static_done()
2008 _sethtent(FILE **hostf) in _sethtent() argument2011 if (!*hostf) in _sethtent()2012 *hostf = fopen(_PATH_HOSTS, "re"); in _sethtent()2014 rewind(*hostf); in _sethtent()2018 _endhtent(FILE **hostf) in _endhtent() argument2021 if (*hostf) { in _endhtent()2022 (void) fclose(*hostf); in _endhtent()2023 *hostf = NULL; in _endhtent()2028 _gethtent(FILE **hostf, const char *name, const struct addrinfo *pai) in _gethtent() argument2041 if (!*hostf && !(*hostf = fopen(_PATH_HOSTS, "re"))) in _gethtent()[all …]
1628 if (!rs->hostf) { in gethostent()1629 sethostent_r(&rs->hostf); in gethostent()1630 if (!rs->hostf) { in gethostent()1636 return netbsd_gethostent_r(rs->hostf, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), &h_errno); in gethostent()