-
Notifications
You must be signed in to change notification settings - Fork 0
/
ERRORS.C
42 lines (38 loc) · 1.06 KB
/
ERRORS.C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*******************************************************************
* UNCMP - ERRORS, Version 1.20, created 3-17-90
*
* Common error messages are here to save space.
* (NOTE: as of v1.20 the LZEXE program would probably do a good job
* of crunching the messages, but this is still here for lack of want
* to remove it)
*
* All of UNCMP is Copyright (C) 1989-90 Derron Simon
*
* This program is free for everyone, but I retain all copyrights over
* it. Please see USER.MAN for more information.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*******************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include "uncmp.h"
#include "archead.h"
#include "global.h"
void read_error(void)
{
printf("Error reading file\n");
exit(1);
}
void write_error(void)
{
printf("Error writing file\n");
exit(1);
}
void mem_error(void)
{
printf("Error allocating memory\n");
exit(1);
}