Lines Matching refs:netf
324 FILE *netf; local
351 if ((netf = fopen(_PATH_NETGROUP,"re")) != NULL ||_use_only_yp){
352 compat_state.st_netf = netf;
358 if (netf) {
359 fscanf(netf, "%c", &_yp_plus);
360 rewind(netf);
371 if (netf != NULL)
372 fclose(netf);
376 if ((netf = fopen(_PATH_NETGROUP, "re"))) {
377 compat_state.st_netf = netf;
384 if (netf)
385 fclose(netf);
796 FILE *netf; local
802 netf = st->st_netf;
804 fgets(line, LINSIZ, netf) != NULL) {
828 while (fgets(line, LINSIZ, netf) != NULL) {
893 if (fgets(line, LINSIZ, netf)) {
919 rewind(netf);