Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93836632
printerror.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Dec 1, 21:52
Size
447 B
Mime Type
text/x-c
Expires
Tue, Dec 3, 21:52 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22705470
Attached To
R1448 Lenstool-HPC
printerror.c
View Options
/********************************************************************/
/* 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
Log In to Comment