Searched refs:netf (Results 1 – 1 of 1) sorted by relevance
30 FILE *netf; member174 nd->netf = NULL; in getnetent()177 if (nd->netf == NULL && (nd->netf = fopen(NET_FILE_PATH, "r")) == NULL) { in getnetent()184 if (fgets(nd->buf, BUFFER_SIZE, nd->netf) == NULL) in getnetent()200 nd->netf = NULL; in setnetent()202 if (nd->netf == NULL) in setnetent()203 nd->netf = fopen(NET_FILE_PATH, "r"); in setnetent()205 rewind(nd->netf); in setnetent()214 if (nd->netf != NULL) in endnetent()215 fclose(nd->netf); in endnetent()