Searched refs:snap_file (Results 1 – 1 of 1) sorted by relevance
50 FILE *snap_file = fopen(file, "a"); in dtop_system_snapshot_helper_print() local52 if (snap_file) { in dtop_system_snapshot_helper_print()53 if (fprintf(snap_file, "%s", str) < 0) { in dtop_system_snapshot_helper_print()54 fclose(snap_file); in dtop_system_snapshot_helper_print()60 fflush(snap_file); in dtop_system_snapshot_helper_print()61 fclose(snap_file); in dtop_system_snapshot_helper_print()