Searched refs:hostf (Results 1 – 1 of 1) sorted by relevance
85 static FILE *hostf = NULL; variable696 if (!hostf) in _sethtent()697 hostf = fopen(_PATH_HOSTS, "rce" ); in _sethtent()699 rewind(hostf); in _sethtent()708 if (hostf && !stayopen) { in _endhtent()709 (void) fclose(hostf); in _endhtent()710 hostf = NULL; in _endhtent()721 if (!hostf && !(hostf = fopen(_PATH_HOSTS, "rce" ))) { in _gethtent()726 if (!(p = fgets(hostbuf, sizeof hostbuf, hostf))) { in _gethtent()
Completed in 5 milliseconds