328: int makePrimaryArrayHdr(Hdr *, FitsDataType, int dims, int *ndim);
329: int makeImageExtHdr(Hdr *, FitsDataType, int dims, int *ndim,
330: char *extname, int extver);
These routines make header arrays with the minimal set of FITS keywords. They return 0 is successful and -1 if an error occurred.