Line | |
---|
1 | /* |
---|
2 | Name: fatal.c |
---|
3 | |
---|
4 | Coded: Paul Ning |
---|
5 | |
---|
6 | Modified by: Brian Curless |
---|
7 | Computer Graphics Laboratory |
---|
8 | Stanford University |
---|
9 | |
---|
10 | Comment: Fatal exit from program |
---|
11 | |
---|
12 | Copyright (1997) The Board of Trustees of the Leland Stanford Junior |
---|
13 | University. Except for commercial resale, lease, license or other |
---|
14 | commercial transactions, permission is hereby given to use, copy, |
---|
15 | modify this software for academic purposes only. No part of this |
---|
16 | software or any derivatives thereof may be used in the production of |
---|
17 | computer models for resale or for use in a commercial |
---|
18 | product. STANFORD MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND |
---|
19 | CONCERNING THIS SOFTWARE. No support is implied or provided. |
---|
20 | |
---|
21 | */ |
---|
22 | |
---|
23 | |
---|
24 | #include <stdio.h> |
---|
25 | #include <unistd.h> |
---|
26 | #include "mc.h" |
---|
27 | |
---|
28 | void |
---|
29 | Fatal(char *message) |
---|
30 | { |
---|
31 | printf("%s\n", message); |
---|
32 | fflush(stdout); |
---|
33 | exit(-1); |
---|
34 | } /* Fatal */ |
---|
Note: See
TracBrowser
for help on using the repository browser.