Searched refs:netf (Results 1 – 1 of 1) sorted by relevance
27 static FILE *netf = NULL; variable40 if (netf == NULL)41 netf = fopen(NETDB, "r" );43 rewind(netf);50 if (netf) { in endnetent()51 fclose(netf); in endnetent()52 netf = NULL; in endnetent()63 if (netf == NULL && (netf = fopen(NETDB, "r" )) == NULL) in getnetent()66 p = fgets(line, BUFSIZ, netf); in getnetent()