1 2 3 4 5 6 7 8 9 10 11 12
#include <stdio.h> #ifndef FILE_H #define FILE_H struct filedata { int lc; unsigned len; char *buf; }; struct filedata readfile(FILE *fp); #endif