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