1 module tango.sys.darwin.consts.errno;
2 enum {
3     E2BIG = 7, // Argument list too long
4     EACCES = 13, // Permission denied
5     EADDRINUSE = 48, // Address already in use
6     EADDRNOTAVAIL = 49, // Can't assign requested address
7     EAFNOSUPPORT = 47, // Address family not supported by protocol family
8     EAGAIN = 35, // Resource temporarily unavailable
9     EALREADY = 37, // Operation already in progress
10     EAUTH = 80, // Authentication error
11     EBADF = 9, // Bad file descriptor
12     EBADMSG = 94, // Bad message
13     EBADRPC = 72, // RPC struct is bad
14     EBUSY = 16, // Device busy
15     ECANCELED = 89, // Operation canceled
16     ECHILD = 10, // No child processes
17     ECONNABORTED = 53, // Software caused connection abort
18     ECONNREFUSED = 61, // Connection refused
19     ECONNRESET = 54, // Connection reset by peer
20     EDEADLK = 11, // Resource deadlock avoided
21     EDESTADDRREQ = 39, // Destination address required
22     EDOM = 33, // Numerical argument out of domain
23     EDQUOT = 69, // Disc quota exceeded
24     EEXIST = 17, // File exists
25     EFAULT = 14, // Bad address
26     EFBIG = 27, // File too large
27     EFTYPE = 79, // Inappropriate file type or format
28     EHOSTDOWN = 64, // Host is down
29     EHOSTUNREACH = 65, // No route to host
30     EIDRM = 90, // Itendifier removed
31     EILSEQ = 92, // Illegal byte sequence
32     EINPROGRESS = 36, // Operation now in progress
33     EINTR = 4, // Interrupted system call
34     EINVAL = 22, // Invalid argument
35     EIO = 5, // Input/output error
36     EISCONN = 56, // Socket is already connected
37     EISDIR = 21, // Is a directory
38     ELAST = 103, // Must be equal largest errno
39     ELOOP = 62, // Too many levels of symbolic links
40     EMFILE = 24, // Too many open files
41     EMLINK = 31, // Too many links
42     EMSGSIZE = 40, // Message too long
43     EMULTIHOP = 95, // Multihop attempted
44     ENAMETOOLONG = 63, // File name too long
45     ENEEDAUTH = 81, // Need authenticator
46     ENETDOWN = 50, // Network is down
47     ENETRESET = 52, // Network dropped connection on reset
48     ENETUNREACH = 51, // Network is unreachable
49     ENFILE = 23, // Too many open files in system
50     ENOATTR = 93, // Attribute not found
51     ENOBUFS = 55, // No buffer space available
52     ENODATA = 96, // No message available on STREAM
53     ENODEV = 19, // Operation not supported by device
54     ENOENT = 2, // No such file or directory
55     ENOEXEC = 8, // Exec format error
56     ENOLCK = 77, // No locks available
57     ENOLINK = 97, // Link has been severed
58     ENOMEM = 12, // Cannot allocate memory
59     ENOMSG = 91, // No message of desired type
60     ENOPROTOOPT = 42, // Protocol not available
61     ENOSPC = 28, // No space left on device
62     ENOSR = 98, // No STREAM resources
63     ENOSTR = 99, // Not a STREAM
64     ENOSYS = 78, // Function not implemented
65     ENOTBLK = 15, // Block device required
66     ENOTCONN = 57, // Socket is not connected
67     ENOTDIR = 20, // Not a directory
68     ENOTEMPTY = 66, // Directory not empty
69     ENOTSOCK = 38, // Socket operation on non-socket
70     ENOTSUP = 45, // Operation not supported
71     ENOTTY = 25, // Inappropriate ioctl for device
72     ENXIO = 6, // Device not configured
73     EOPNOTSUPP = 102, // Operation not supported on socket
74     EOVERFLOW = 84, // Value too large to be stored in data type
75     EPERM = 1, // Operation not permitted
76     EPFNOSUPPORT = 46, // Protocol family not supported
77     EPIPE = 32, // Broken pipe
78     EPROCLIM = 67, // Too many processes
79     EPROCUNAVAIL = 76, // Bad procedure for program
80     EPROGMISMATCH = 75, // Program version wrong
81     EPROGUNAVAIL = 74, // RPC prog. not avail
82     EPROTO = 100, // Protocol error
83     EPROTONOSUPPORT = 43, // Protocol not supported
84     EPROTOTYPE = 41, // Protocol wrong type for socket
85     ERANGE = 34, // Result too large
86     EREMOTE = 71, // Too many levels of remote in path
87     EROFS = 30, // Read-only file system
88     ERPCMISMATCH = 73, // RPC version wrong
89     ESHUTDOWN = 58, // Can't send after socket shutdown
90     ESOCKTNOSUPPORT = 44, // Socket type not supported
91     ESPIPE = 29, // Illegal seek
92     ESRCH = 3, // No such process
93     ESTALE = 70, // Stale NFS file handle
94     ETIME = 101, // STREAM ioctl timeout
95     ETIMEDOUT = 60, // Operation timed out
96 
97     ETOOMANYREFS = 59, // Too many refrences, can't splice
98 
99 
100     ETXTBSY = 26, // Text file busy
101     EUSERS = 68, // Too many users
102     EWOULDBLOCK = 35, // Operation would block
103     EXDEV = 18, // Cross-device link
104 }