HomeSort by: relevance | last modified time | path
    Searched defs:hostf (Results 1 - 4 of 4) sorted by relevancy

  /src/lib/libbluetooth/
bluetooth.c 46 static FILE *hostf = NULL; variable in typeref:typename:FILE *
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 in function:chkhost
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 in function:iruserok_sa
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 2279 _sethtent(FILE **hostf)
2282 if (!*hostf)
2283 *hostf = fopen(_PATH_HOSTS, "re");
2285 rewind(*hostf);
2289 _endhtent(FILE **hostf)
2292 if (*hostf) {
2293 (void) fclose(*hostf);
2294 *hostf = NULL;
2299 _gethtent(FILE **hostf, const char *name, const struct addrinfo *pai)
2311 if (!*hostf && !(*hostf = fopen(_PATH_HOSTS, "re"))
2373 FILE *hostf = NULL; local in function:_files_getaddrinfo
    [all...]

Completed in 17 milliseconds