| /src/lib/libbluetooth/ |
| bluetooth.c | 46 static FILE *hostf = NULL; variable 107 if (hostf == NULL) 108 hostf = fopen(_PATH_BT_HOSTS, "r"); 110 if (hostf == NULL) { 115 if ((p = fgets(buf, sizeof(buf), hostf)) == NULL) { 159 if (hostf == NULL) 160 hostf = fopen(_PATH_BT_HOSTS, "r"); 162 rewind(hostf); 170 if (hostf != NULL && host_stayopen == 0) { 171 (void) fclose(hostf); [all...] |
| /src/usr.sbin/lpr/lpd/ |
| lpd.c | 598 FILE *hostf; local 666 hostf = fopen(_PATH_HOSTSEQUIV, "r"); 667 if (hostf) { 668 if (__ivaliduser_sa(hostf, f, f->sa_len, DUMMY, DUMMY) == 0) { 669 chkplushost(good, hostf, hst); 670 (void)fclose(hostf); 673 (void)fclose(hostf); 675 hostf = fopen(_PATH_HOSTSLPD, "r"); 676 if (hostf) { 677 if (__ivaliduser_sa(hostf, f, f->sa_len, DUMMY, DUMMY) == 0) [all...] |
| /src/lib/libc/net/ |
| rcmd.c | 661 FILE *hostf; local 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 [all...] |
| getaddrinfo.c | 2282 _sethtent(FILE **hostf) 2285 if (!*hostf) 2286 *hostf = fopen(_PATH_HOSTS, "re"); 2288 rewind(*hostf); 2292 _endhtent(FILE **hostf) 2295 if (*hostf) { 2296 (void) fclose(*hostf); 2297 *hostf = NULL; 2302 _gethtent(FILE **hostf, const char *name, const struct addrinfo *pai) 2314 if (!*hostf && !(*hostf = fopen(_PATH_HOSTS, "re")) 2376 FILE *hostf = NULL; local [all...] |
| /src/external/bsd/libbind/dist/include/ |
| netdb.h | 280 FILE *hostf; member in struct:hostent_data
|