Searched refs:netf (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/lib/libc/net/
H A Dgetnetbyht.c67 if (ned->netf == NULL)
68 ned->netf = fopen(_PATH_NETWORKS, "re");
70 rewind(ned->netf);
78 if (ned->netf) {
79 fclose(ned->netf);
80 ned->netf = NULL;
93 if (ned->netf == NULL &&
94 (ned->netf = fopen(_PATH_NETWORKS, "re")) == NULL)
97 p = fgets(line, sizeof line, ned->netf);
H A Dnetdb_private.h91 FILE *netf; member in struct:netent_data
/freebsd-13-stable/lib/libc/gen/
H A Dgetnetgrent.c328 FILE *netf; local
355 if ((netf = fopen(_PATH_NETGROUP,"re")) != NULL ||_use_only_yp){
356 compat_state.st_netf = netf;
362 if (netf) {
363 fscanf(netf, "%c", &_yp_plus);
364 rewind(netf);
375 if (netf != NULL)
376 fclose(netf);
380 if ((netf = fopen(_PATH_NETGROUP, "re"))) {
381 compat_state.st_netf = netf;
800 FILE *netf; local
[all...]
/freebsd-13-stable/libexec/revnetgroup/
H A Dparse_netgroup.c342 if (fgets(line, LINSIZ, netf)) {

Completed in 118 milliseconds