source: buchla-68k/orig/LATTICE/SYSERRS.C@ 3ae31e9

Last change on this file since 3ae31e9 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Imported original source code.

  • Property mode set to 100755
File size: 2.0 KB
Line 
1/*
2 =============================================================================
3 stderrs.c -- standard error message list
4 Version 2 -- 1989-01-10 -- D.N. Lynx Crowe
5
6 Set up for GEMDOS, which is almost like Unix(tm).
7 =============================================================================
8*/
9
10#define MAXERRNO 36 /* maximum error number in s_errl[] */
11
12char *s_errl[] = { /* standard system error messages (errno.h) */
13
14 /* 0 */ "",
15 /* 1 */ "EPERM - Not owner",
16 /* 2 */ "ENOENT - No such file or directory",
17 /* 3 */ "ESRCH - No such process",
18 /* 4 */ "EINTR - Interrupted system call",
19 /* 5 */ "EIO - I/O Error",
20 /* 6 */ "ENXIO - No such device or address",
21 /* 7 */ "E2BIG - Arg list too long",
22 /* 8 */ "ENOEXEC - Exec format error",
23 /* 9 */ "EBADF - Bad file number",
24 /* 10 */ "ECHILD - No child processes",
25 /* 11 */ "EAGAIN - No more processes",
26 /* 12 */ "ENOMEM - Not enough space",
27 /* 13 */ "EACCES - Permission denied",
28 /* 14 */ "EFAULT - Bad address",
29 /* 15 */ "ENOTBLK - Block device required",
30 /* 16 */ "EBUSY - Device or resource busy",
31 /* 17 */ "EEXIST - File exists",
32 /* 18 */ "EXDEV - Cross-device link",
33 /* 19 */ "ENODEV - No such device",
34 /* 20 */ "ENOTDIR - Not a directory",
35 /* 21 */ "EISDIR - File is a directory",
36 /* 22 */ "EINVAL - Invalid argument",
37 /* 23 */ "ENFILE - File table overflow",
38 /* 24 */ "EMFILE - Too many open files",
39 /* 25 */ "ENOTTY - Not a character device",
40 /* 26 */ "ETXTBSY - Text file busy",
41 /* 27 */ "EFBIG - File too large",
42 /* 28 */ "ENOSPC - No space left on device",
43 /* 29 */ "ESPIPE - Illegal seek on a pipe",
44 /* 30 */ "EROFS - Read-only file system",
45 /* 31 */ "EMLINK - Too many links",
46 /* 32 */ "EPIPE - Broken pipe",
47
48/* math software */
49
50 /* 33 */ "EDOM - Bad math argument",
51 /* 34 */ "ERANGE - Result too large",
52
53/* hereafter is available for specials */
54
55 /* 35 */ "ENODSPC - No directory space",
56 /* 36 */ "ERENAME - Rename error",
57};
58
59int s_nerr = MAXERRNO; /* maximum error number we know about */
Note: See TracBrowser for help on using the repository browser.