print a formatted message and exit with error
#include <suplib/debug.h> void die( char *format, ... );
char *format
the
printf
style format string for the message...
the arguments that make up the message
die
is a quick and dirty method of printing an error message
and then exiting a program. It’s just a combination of fprintf
and
exit
, sending the output to stderr
and exiting with an
exit value of ‘1’
Diab Jerius