1 |
// Douglas Thrift |
2 |
// |
3 |
// CCS Computer Science |
4 |
// |
5 |
// Turn In Stub |
6 |
|
7 |
#include "common.h" |
8 |
|
9 |
int main(int argc, char *argv[]) |
10 |
{ |
11 |
int exception; |
12 |
jmp_buf environment; |
13 |
|
14 |
switch (exception = setjmp(environment)) |
15 |
{ |
16 |
case 0: |
17 |
break; |
18 |
case 1: |
19 |
perror(argv[0]); |
20 |
|
21 |
return 1; |
22 |
default: |
23 |
fprintf(stderr, "%s: %s\n", argv[0], (char *)exception); |
24 |
|
25 |
return 1; |
26 |
} |
27 |
|
28 |
longjmp(environment, (int)"Um, so, yeah, I'm guessing you want to be logged in to a CSIL box."); |
29 |
|
30 |
return 0; |
31 |
} |