Ok, what is wrong here? FILE *fp = fopen("example","wb"); fwrite (vplane0,3840,1,fp); /*vplane is a pointer to a 3840 byte screen buffer*/ fputc(0,fp); fputs("PNT",fp); fputc(0,fp); fputc(OTH_TAG,fp); fclose(fp); When I create this file, it's only 371 bytes long... Is fwrite buggy, or am I just insane : ) ? Thanx, Michael Cowart