Home | History | Annotate | Download | only in libbluetooth

Lines Matching defs:hostf

46 static FILE		*hostf = NULL;
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);
172 hostf = NULL;