#include #include #include typedef struct ImgHdr { int compressed; ulong chan; Rectangle r; } ImgHdr; #pragma varargck type "H" ImgHdr int Hfmt(Fmt *); int readimghdr(int fd, ImgHdr *);