Category : Utilities for DOS and Windows Machines
Archive   : EXE.ZIP
Filename : ERR.C

 
Output of file : ERR.C contained in archive : EXE.ZIP

/* ------------------------------------------------------------------
Listing 3 -- err.c
--------------------------------------------------------------------- */
#include
#include

fatal_err( fmt ) /* Print an error message to stderr and */
char *fmt; /* then exit. */
{
va_list args;
va_start( args, fmt );
vfprintf( stderr, fmt, args );
exit( 1 );
}