Page MenuHomec4science

printerror.c
No OneTemporary

File Metadata

Created
Sun, Dec 1, 21:32

printerror.c

/********************************************************************/
/* Print out cfitsio error messages and exit program */
/*****************************************************/
#include<stdlib.h>
#include "fitsio.h"
#include "lt.h"
void printerror( int status)
{
if (status)
{
fits_report_error(stderr, status); /* print error report */
exit( status ); /* terminate the program, returning error status */
}
}

Event Timeline