2
* Copyright (c) 1991 Carnegie Mellon University
5
* Permission to use, copy, modify and distribute this software and its
6
* documentation is hereby granted, provided that both the copyright
7
* notice and this permission notice appear in all copies of the
8
* software, derivative works or modified versions, and any portions
9
* thereof, and that both notices appear in supporting documentation.
11
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
12
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
13
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15
* Carnegie Mellon requests users of this software to return to
17
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
18
* School of Computer Science
19
* Carnegie Mellon University
20
* Pittsburgh PA 15213-3890
22
* any improvements or extensions that they make and grant Carnegie the rights
23
* to redistribute these changes.
26
* quit -- print message and exit
28
* Usage: quit (status,format [,arg]...);
30
* (... format and arg[s] make up a printf-arglist)
32
* Quit is a way to easily print an arbitrary message and exit.
33
* It is most useful for error exits from a program:
34
* if (open (...) < 0) then quit (1,"Can't open...",file);
36
**********************************************************************
39
* Revision 1.1.1.1 1993/08/21 00:46:33 jkh
40
* Current sup with compression support.
42
* Revision 1.1.1.1 1993/05/21 14:52:17 cgd
43
* initial import of CMU's SUP to NetBSD
45
* Revision 1.2 88/12/13 13:52:41 gm0w
46
* Rewritten to use varargs.
49
**********************************************************************
55
quit (status, fmt, va_alist)
64
(void) vfprintf(stderr, fmt, args);