Fat Explorer ((exclusive)) -

The brass nameplate on the airship’s gondola read The Gilded Gannet , but the crew had a different name for it: The Flying Trough . This was largely due to its captain, Barnaby Bristle.

if (S_ISREG(statbuf.st_mode)) stats.total_files++; stats.total_size += statbuf.st_size; fat explorer

// Calculate average file size if (stats.total_files > 0) stats.average_size = stats.total_size / stats.total_files; The brass nameplate on the airship’s gondola read

// Structure to hold directory statistics typedef struct int total_files; int total_subdirectories; long long total_size; char largest_file[256]; long long largest_size; char smallest_file[256]; long long smallest_size; long long average_size; dir_stats_t; stats.total_size += statbuf.st_size

while ((ent = readdir(dir)) != NULL) strcmp(ent->d_name, "..") == 0) continue;