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