Searched refs:mapfp (Results 1 – 1 of 1) sorted by relevance
1244 FILE *mapfp; /* File stream on mapfile */ in load_map() local1252 if ((mapfp = fopen(mapfile, "r")) == NULL) in load_map()1256 while (flgets(buf, sizeof(buf), mapfp) != NULL) { in load_map()1263 fclose(mapfp); in load_map()1280 FILE *mapfp = NULL; in store_map() local1288 if ((mapfp = fdopen(fd, "w")) == NULL) in store_map()1293 fprintf(mapfp, "%u %u\n", cpu, mem); in store_map()1295 fclose(mapfp); in store_map()1303 if (mapfp != NULL) { in store_map()1304 fclose(mapfp); in store_map()