|
|
1.1 root 1: /* errno.h 6.1 83/07/29 */
2:
3: /*
4: * Error codes
5: */
6:
7: #define EPERM 1 /* Not owner */
8: #define ENOENT 2 /* No such file or directory */
9: #define ESRCH 3 /* No such process */
10: #define EINTR 4 /* Interrupted system call */
11: #define EIO 5 /* I/O error */
12: #define ENXIO 6 /* No such device or address */
13: #define E2BIG 7 /* Arg list too long */
14: #define ENOEXEC 8 /* Exec format error */
15: #define EBADF 9 /* Bad file number */
16: #define ECHILD 10 /* No children */
17: #define EAGAIN 11 /* No more processes */
18: #define ENOMEM 12 /* Not enough core */
19: #define EACCES 13 /* Permission denied */
20: #define EFAULT 14 /* Bad address */
21: #define ENOTBLK 15 /* Block device required */
22: #define EBUSY 16 /* Mount device busy */
23: #define EEXIST 17 /* File exists */
24: #define EXDEV 18 /* Cross-device link */
25: #define ENODEV 19 /* No such device */
26: #define ENOTDIR 20 /* Not a directory*/
27: #define EISDIR 21 /* Is a directory */
28: #define EINVAL 22 /* Invalid argument */
29: #define ENFILE 23 /* File table overflow */
30: #define EMFILE 24 /* Too many open files */
31: #define ENOTTY 25 /* Not a typewriter */
32: #define ETXTBSY 26 /* Text file busy */
33: #define EFBIG 27 /* File too large */
34: #define ENOSPC 28 /* No space left on device */
35: #define ESPIPE 29 /* Illegal seek */
36: #define EROFS 30 /* Read-only file system */
37: #define EMLINK 31 /* Too many links */
38: #define EPIPE 32 /* Broken pipe */
39:
40: /* math software */
41: #define EDOM 33 /* Argument too large */
42: #define ERANGE 34 /* Result too large */
43:
44: /* non-blocking and interrupt i/o */
45: #define EWOULDBLOCK 35 /* Operation would block */
46: #define EINPROGRESS 36 /* Operation now in progress */
47: #define EALREADY 37 /* Operation already in progress */
48: /* ipc/network software */
49:
50: /* argument errors */
51: #define ENOTSOCK 38 /* Socket operation on non-socket */
52: #define EDESTADDRREQ 39 /* Destination address required */
53: #define EMSGSIZE 40 /* Message too long */
54: #define EPROTOTYPE 41 /* Protocol wrong type for socket */
55: #define ENOPROTOOPT 42 /* Protocol not available */
56: #define EPROTONOSUPPORT 43 /* Protocol not supported */
57: #define ESOCKTNOSUPPORT 44 /* Socket type not supported */
58: #define EOPNOTSUPP 45 /* Operation not supported on socket */
59: #define EPFNOSUPPORT 46 /* Protocol family not supported */
60: #define EAFNOSUPPORT 47 /* Address family not supported by protocol family */
61: #define EADDRINUSE 48 /* Address already in use */
62: #define EADDRNOTAVAIL 49 /* Can't assign requested address */
63:
64: /* operational errors */
65: #define ENETDOWN 50 /* Network is down */
66: #define ENETUNREACH 51 /* Network is unreachable */
67: #define ENETRESET 52 /* Network dropped connection on reset */
68: #define ECONNABORTED 53 /* Software caused connection abort */
69: #define ECONNRESET 54 /* Connection reset by peer */
70: #define ENOBUFS 55 /* No buffer space available */
71: #define EISCONN 56 /* Socket is already connected */
72: #define ENOTCONN 57 /* Socket is not connected */
73: #define ESHUTDOWN 58 /* Can't send after socket shutdown */
74: #define ETOOMANYREFS 59 /* Too many references: can't splice */
75: #define ETIMEDOUT 60 /* Connection timed out */
76: #define ECONNREFUSED 61 /* Connection refused */
77:
78: /* */
79: #define ELOOP 62 /* Too many levels of symbolic links */
80: #define ENAMETOOLONG 63 /* File name too long */
81:
82: /* should be rearranged */
83: #define EHOSTDOWN 64 /* Host is down */
84: #define EHOSTUNREACH 65 /* No route to host */
85: #define ENOTEMPTY 66 /* Directory not empty */
86:
87: /* quotas & mush */
88: #define EPROCLIM 67 /* Too many processes */
89: #define EUSERS 68 /* Too many users */
90: #define EDQUOT 69 /* Disc quota exceeded */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.