#include "stdlib.h"
#include "stdio.h"
#include "signal.h"
#ifndef SIGIOT
#ifdef SIGABRT
#define SIGIOT SIGABRT
#endif
#endif
#ifdef KR_headers
void sig_die(s, kill) register char *s; int kill;
#else
#include "stdlib.h"
#ifdef __cplusplus
extern "C" {
#endif
extern void f_exit(void);
void sig_die(register char *s, int kill)
#endif
{
/* print error message, then clear buffers */
if( s != NULL ) fprintf(stderr, "%s\n", s);
exit(1) ;
}
#ifdef __cplusplus
}
#endif
syntax highlighted by Code2HTML, v. 0.9.1