Searched refs:netf (Results 1 – 4 of 4) sorted by relevance
/dragonfly/lib/libc/gen/ |
H A D | getnetgrent.c | 132 static FILE *netf = NULL; variable 177 if (netf) { 178 fscanf(netf, "%c", &_yp_plus); 179 rewind(netf); 190 if (netf != NULL) 191 fclose(netf); 195 if ((netf = fopen(_PATH_NETGROUP, "r"))) { 204 if (netf) 205 fclose(netf); 603 if (fgets(line, LINSIZ, netf)) { [all …]
|
/dragonfly/lib/libc/net/ |
H A D | getnetbyht.c | 61 if (ned->netf == NULL) in _setnethtent() 62 ned->netf = fopen(_PATH_NETWORKS, "r"); in _setnethtent() 64 rewind(ned->netf); in _setnethtent() 72 if (ned->netf) { in _endnethtent() 73 fclose(ned->netf); in _endnethtent() 74 ned->netf = NULL; in _endnethtent() 87 if (ned->netf == NULL && in getnetent_p() 88 (ned->netf = fopen(_PATH_NETWORKS, "r")) == NULL) in getnetent_p() 91 p = fgets(line, sizeof line, ned->netf); in getnetent_p()
|
H A D | netdb_private.h | 89 FILE *netf; member
|
/dragonfly/libexec/revnetgroup/ |
H A D | parse_netgroup.c | 337 if (fgets(line, LINSIZ, netf)) { in read_for_group()
|