8 * quit with a diagnostic message printed on stderr
10 * $DragonFly: src/usr.bin/tconv/Attic/quit.c,v 1.2 2003/10/04 20:36:52 hmp Exp $
17 static const char SCCSid[] = "@(#) mytinfo quit.c 3.2 92/02/01 public domain, By Ross Ridge";
22 #if defined(USE_PROTOTYPES) && !defined(lint)
31 quit(int e, char *fmt, ...)
40 fprintf(stderr, "%s: ", prg_name);
42 _doprnt(fmt, ap, stderr);
44 vfprintf(stderr, fmt, ap);
47 if (e > 0 && e < sys_nerr) {
48 fprintf(stderr, "%d - %s\n", e, sys_errlist[e]);