]> diplodocus.org Git - nmh/blob - docs/historical/SRI-NOSC/errors.h
Added start_test/finish_test to a bunch of tests.
[nmh] / docs / historical / SRI-NOSC / errors.h
1 #
2 /* u_error codes */
3 #define EFAULT 106
4 #define EPERM 1
5 #define ENOENT 2
6 #define ESRCH 3
7 #define EINTR 4
8 #define EIO 5
9 #define ENXIO 6
10 #define E2BIG 7
11 #define ENOEXEC 8
12 #define EBADF 9
13 #define ECHILD 10
14 #define EAGAIN 11
15 #define ENOMEM 12
16 #define EACCES 13
17 #define ENOTBLK 15
18 #define EBUSY 16
19 #define EEXIST 17
20 #define EXDEV 18
21 #define ENODEV 19
22 #define ENOTDIR 20
23 #define EISDIR 21
24 #define EINVAL 22
25 #define ENFILE 23
26 #define EMFILE 24
27 #define ENOTTY 25
28 #define ETXTBSY 26
29 #define EFBIG 27
30 #define ENOSPC 28
31 #define ESPIPE 29
32 #define EROFS 30
33 #define EMLINK 31
34 #define EPIPE 32
35
36 /* Harvard error codes */
37
38 #define EPLIM 99 /* process limit reached */
39 #define EPROTO 98 /* Protocol error */
40
41 int errno; /* where c saves the error code */