Searched refs:netf (Results 1 – 3 of 3) sorted by relevance
/original-bsd/lib/libc/net/ |
H A D | getnetent.c | 22 static FILE *netf; variable 32 if (netf == NULL) 33 netf = fopen(_PATH_NETWORKS, "r" ); 35 rewind(netf); 42 if (netf) { in endnetent() 43 fclose(netf); in endnetent() 44 netf = NULL; in endnetent() 55 if (netf == NULL && (netf = fopen(_PATH_NETWORKS, "r" )) == NULL) in getnetent() 58 p = fgets(line, BUFSIZ, netf); in getnetent()
|
/original-bsd/lib/libc/gen/ |
H A D | getnetgrent.c | 52 static FILE *netf = (FILE *)0; variable 74 if (netf = fopen(_PATH_NETGROUP, "r")) { 82 fclose(netf); 251 while (fgets(line, LINSIZ, netf) != NULL) { 296 if (fgets(line, LINSIZ, netf)) {
|
/original-bsd/libexec/rlogind/ |
H A D | rlogind.c | 160 int netf; variable 257 netf = f; 511 shutdown(netf, 2);
|