#include "stdio.h" #include "flatfile.h" long n_rows(int unit) { long out; if (ff_pointer[unit] != NULL) { out = ff_rows[unit]; } else { printf("File is not open at this time.\n"); out = -1; } return out; }