Searched refs:hostf (Results 1 - 2 of 2) sorted by relevance
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | rcmd.c | 77 static int _validuser(FILE *hostf, char *rhost, const char *luser, 559 FILE *hostf; local 589 if ((hostf = fopen("/etc/hosts.equiv", "rF")) != NULL) { 590 if (!_validuser(hostf, fhost, luser, ruser, baselen)) { 591 (void) fclose(hostf); 594 (void) fclose(hostf); 617 if ((hostf = fopen(pbuf, "rF")) == NULL) { 625 (void) fstat64(fileno(hostf), &sbuf); 627 (void) fclose(hostf); 636 if (!_validuser(hostf, fhos 656 _validuser(FILE *hostf, char *rhost, const char *luser, const char *ruser, int baselen) argument [all...] |
/osnet-11/usr/src/lib/libresolv/ |
H A D | res_gethost.c | 54 static FILE *hostf = NULL; variable 350 if (hostf == NULL) 351 hostf = fopen(HOSTDB, "r"); 353 rewind(hostf); 362 if (hostf && !stayopen) { 363 (void) fclose(hostf); 364 hostf = NULL; 376 if (hostf == NULL && (hostf = fopen(HOSTDB, "r")) == NULL) 379 if ((p = fgets(hostbuf, BUFSIZ, hostf)) [all...] |
Completed in 22 milliseconds