Home | History | Annotate | Download | only in roken

Lines Matching defs:hostf

91 __ivaliduser(FILE *hostf, unsigned raddr, const char *luser,
116 while (fgets(buf, sizeof(buf), hostf)) {
120 while ((ch = getc(hostf)) != '\n' && ch != EOF);
225 FILE *hostf;
231 hostf = superuser ? NULL : fopen(_PATH_HEQUIV, "r");
233 if (hostf) {
234 if (__ivaliduser(hostf, raddr, luser, ruser) == 0) {
235 fclose(hostf);
238 fclose(hostf);
254 hostf = fopen(pbuf, "r");
257 if (hostf == NULL)
268 else if (fstat(fileno(hostf), &sbuf) < 0)
277 fclose(hostf);