#include #include #include int wrblock(FILE *f, int type, int length, char *data) { int i, check=type+length; for(i=0; i