1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/* myerror.c */ #include <stdio.h> #ifndef AIX # include <stdlib.h> #endif #include "defines.h" #include "myerror.h" #ifdef __STDC__ void error (char * s) #else void error (s) char * s; #endif { fprintf (stderr, "\n%s\n", s); if (* s == '!') exit (UNSUCCESSFUL); }