Home | History | Annotate | Download | only in net

Lines Matching defs:hostf

661 	FILE *hostf;
676 hostf = superuser ? NULL : fopen(_PATH_HEQUIV, "re");
678 if (hostf) {
679 if (__ivaliduser_sa(hostf, sa, (socklen_t)rlen, luser,
681 (void)fclose(hostf);
684 (void)fclose(hostf);
706 hostf = fopen(pbuf, "re");
708 if (hostf != NULL) {
718 else if (fstat(fileno(hostf), &sbuf) < 0)
727 __ivaliduser_sa(hostf, sa, (socklen_t)rlen,
730 (void)fclose(hostf);
750 __ivaliduser(FILE *hostf, u_int32_t raddr, const char *luser,
761 return __ivaliduser_sa(hostf, (struct sockaddr *)(void *)&ivusin,
769 __ivaliduser_sa(FILE *hostf, const struct sockaddr *raddr, socklen_t salen,
783 _DIAGASSERT(hostf != NULL);
787 while (fgets(buf, (int)sizeof(buf), hostf)) {
791 while ((ch = getc(hostf)) != '\n' && ch != EOF)