2 End of "evoliserror.c,v 1.0 ".
\r
12 void error(char * msg, ...)
\r
14 fprintf(stderr, "ERROR: ");
\r
18 vfprintf(stderr, msg, args);
\r
20 fprintf(stderr, "\n");
\r
23 void fatal(char * msg, ...)
\r
26 error("EVOLIS ERROR");
\r
27 fprintf(stderr, "ERROR: ");
\r
30 vfprintf(stderr, msg, args);
\r
32 fprintf(stderr, "\n");
\r
36 void debug(char * msg, ...)
\r
38 fprintf(stderr, "DEBUG: ");
\r
41 vfprintf(stderr, msg, args);
\r
43 fprintf(stderr, "\n");
\r
46 void info(char * msg, ...)
\r
48 fprintf(stderr, "ERROR: ");
\r
51 vfprintf(stderr, msg, args);
\r
53 fprintf(stderr, "\n");
\r
56 void output(char * data, ...)
\r
58 //info("output call : %s ",data);
\r
60 va_start(args,data);
\r
61 vfprintf(stdout, data, args);
\r
66 // End of "evoliserror.c,v 1.0 ".
\r