utils.c
// Report an internal error and exit
Report an internal error and exit
Report an internal error and exit
void panic(char *format, ...) {
    va_list ap;
    va_start(ap, format);
    fprintf(stderr, "Internal error: ");
    vfprintf(stderr, format, ap);
    fprintf(stderr, "\n");
    va_end(ap);
    exit(1);
}
void panic ( char * format , ... ) { va_list ap ; va_start ( ap , format ) ; fprintf ( stderr , " " ) ; vfprintf ( stderr , format , ap ) ; fprintf ( stderr , " \n " ) ; va_end ( ap ) ; exit ( 1 ) ; }
Report an internal error and exit
Report an internal error and exit