Lines Matching defs:hostf
89 __ivaliduser(FILE *hostf, unsigned raddr, const char *luser,
114 while (fgets(buf, sizeof(buf), hostf)) {
118 while ((ch = getc(hostf)) != '\n' && ch != EOF);
223 FILE *hostf;
229 hostf = superuser ? NULL : fopen(_PATH_HEQUIV, "r");
231 if (hostf) {
232 if (__ivaliduser(hostf, raddr, luser, ruser) == 0) {
233 fclose(hostf);
236 fclose(hostf);
252 hostf = fopen(pbuf, "r");
255 if (hostf == NULL)
266 else if (fstat(fileno(hostf), &sbuf) < 0)
275 fclose(hostf);