Searched refs:servf (Results 1 – 1 of 1) sorted by relevance
55 static FILE *servf = NULL; variable191 if (servf == NULL) in setservent()192 servf = fopen(_PATH_SERVICES, "r" ); in setservent()194 rewind(servf); in setservent()201 if (servf) { in endservent()202 fclose(servf); in endservent()203 servf = NULL; in endservent()221 if (servf == NULL && (servf = fopen(_PATH_SERVICES, "r" )) == NULL) in getservent()224 if ((p = fgets(line, BUFSIZ, servf)) == NULL) in getservent()