1631
var errors = [...]string{
1632
1: "operation not permitted",
1633
2: "no such file or directory",
1634
3: "no such process",
1635
4: "interrupted system call",
1636
5: "input/output error",
1637
6: "device not configured",
1638
7: "argument list too long",
1639
8: "exec format error",
1640
9: "bad file descriptor",
1641
10: "no child processes",
1642
11: "resource deadlock avoided",
1643
12: "cannot allocate memory",
1644
13: "permission denied",
1646
15: "block device required",
1649
18: "cross-device link",
1650
19: "operation not supported by device",
1651
20: "not a directory",
1652
21: "is a directory",
1653
22: "invalid argument",
1654
23: "too many open files in system",
1655
24: "too many open files",
1656
25: "inappropriate ioctl for device",
1657
26: "text file busy",
1658
27: "file too large",
1659
28: "no space left on device",
1661
30: "read-only file system",
1662
31: "too many links",
1664
33: "numerical argument out of domain",
1665
34: "result too large",
1666
35: "resource temporarily unavailable",
1667
36: "operation now in progress",
1668
37: "operation already in progress",
1669
38: "socket operation on non-socket",
1670
39: "destination address required",
1671
40: "message too long",
1672
41: "protocol wrong type for socket",
1673
42: "protocol not available",
1674
43: "protocol not supported",
1675
44: "socket type not supported",
1676
45: "operation not supported",
1677
46: "protocol family not supported",
1678
47: "address family not supported by protocol family",
1679
48: "address already in use",
1680
49: "can't assign requested address",
1681
50: "network is down",
1682
51: "network is unreachable",
1683
52: "network dropped connection on reset",
1684
53: "software caused connection abort",
1685
54: "connection reset by peer",
1686
55: "no buffer space available",
1687
56: "socket is already connected",
1688
57: "socket is not connected",
1689
58: "can't send after socket shutdown",
1690
59: "too many references: can't splice",
1691
60: "operation timed out",
1692
61: "connection refused",
1693
62: "too many levels of symbolic links",
1694
63: "file name too long",
1696
65: "no route to host",
1697
66: "directory not empty",
1698
67: "too many processes",
1699
68: "too many users",
1700
69: "disc quota exceeded",
1701
70: "stale NFS file handle",
1702
71: "too many levels of remote in path",
1703
72: "RPC struct is bad",
1704
73: "RPC version wrong",
1705
74: "RPC prog. not avail",
1706
75: "program version wrong",
1707
76: "bad procedure for program",
1708
77: "no locks available",
1709
78: "function not implemented",
1710
79: "inappropriate file type or format",
1711
80: "authentication error",
1712
81: "need authenticator",
1713
82: "identifier removed",
1714
83: "no message of desired type",
1715
84: "value too large to be stored in data type",
1716
85: "operation canceled",
1717
86: "illegal byte sequence",
1718
87: "attribute not found",
1719
88: "programming error",
1721
90: "multihop attempted",
1722
91: "link has been severed",
1723
92: "protocol error",
1724
93: "capabilities insufficient",
1725
94: "not permitted in capability mode",
1726
95: "state not recoverable",
1727
96: "previous owner died",
1660
var errorList = [...]struct {
1665
{1, "EPERM", "operation not permitted"},
1666
{2, "ENOENT", "no such file or directory"},
1667
{3, "ESRCH", "no such process"},
1668
{4, "EINTR", "interrupted system call"},
1669
{5, "EIO", "input/output error"},
1670
{6, "ENXIO", "device not configured"},
1671
{7, "E2BIG", "argument list too long"},
1672
{8, "ENOEXEC", "exec format error"},
1673
{9, "EBADF", "bad file descriptor"},
1674
{10, "ECHILD", "no child processes"},
1675
{11, "EDEADLK", "resource deadlock avoided"},
1676
{12, "ENOMEM", "cannot allocate memory"},
1677
{13, "EACCES", "permission denied"},
1678
{14, "EFAULT", "bad address"},
1679
{15, "ENOTBLK", "block device required"},
1680
{16, "EBUSY", "device busy"},
1681
{17, "EEXIST", "file exists"},
1682
{18, "EXDEV", "cross-device link"},
1683
{19, "ENODEV", "operation not supported by device"},
1684
{20, "ENOTDIR", "not a directory"},
1685
{21, "EISDIR", "is a directory"},
1686
{22, "EINVAL", "invalid argument"},
1687
{23, "ENFILE", "too many open files in system"},
1688
{24, "EMFILE", "too many open files"},
1689
{25, "ENOTTY", "inappropriate ioctl for device"},
1690
{26, "ETXTBSY", "text file busy"},
1691
{27, "EFBIG", "file too large"},
1692
{28, "ENOSPC", "no space left on device"},
1693
{29, "ESPIPE", "illegal seek"},
1694
{30, "EROFS", "read-only file system"},
1695
{31, "EMLINK", "too many links"},
1696
{32, "EPIPE", "broken pipe"},
1697
{33, "EDOM", "numerical argument out of domain"},
1698
{34, "ERANGE", "result too large"},
1699
{35, "EAGAIN", "resource temporarily unavailable"},
1700
{36, "EINPROGRESS", "operation now in progress"},
1701
{37, "EALREADY", "operation already in progress"},
1702
{38, "ENOTSOCK", "socket operation on non-socket"},
1703
{39, "EDESTADDRREQ", "destination address required"},
1704
{40, "EMSGSIZE", "message too long"},
1705
{41, "EPROTOTYPE", "protocol wrong type for socket"},
1706
{42, "ENOPROTOOPT", "protocol not available"},
1707
{43, "EPROTONOSUPPORT", "protocol not supported"},
1708
{44, "ESOCKTNOSUPPORT", "socket type not supported"},
1709
{45, "EOPNOTSUPP", "operation not supported"},
1710
{46, "EPFNOSUPPORT", "protocol family not supported"},
1711
{47, "EAFNOSUPPORT", "address family not supported by protocol family"},
1712
{48, "EADDRINUSE", "address already in use"},
1713
{49, "EADDRNOTAVAIL", "can't assign requested address"},
1714
{50, "ENETDOWN", "network is down"},
1715
{51, "ENETUNREACH", "network is unreachable"},
1716
{52, "ENETRESET", "network dropped connection on reset"},
1717
{53, "ECONNABORTED", "software caused connection abort"},
1718
{54, "ECONNRESET", "connection reset by peer"},
1719
{55, "ENOBUFS", "no buffer space available"},
1720
{56, "EISCONN", "socket is already connected"},
1721
{57, "ENOTCONN", "socket is not connected"},
1722
{58, "ESHUTDOWN", "can't send after socket shutdown"},
1723
{59, "ETOOMANYREFS", "too many references: can't splice"},
1724
{60, "ETIMEDOUT", "operation timed out"},
1725
{61, "ECONNREFUSED", "connection refused"},
1726
{62, "ELOOP", "too many levels of symbolic links"},
1727
{63, "ENAMETOOLONG", "file name too long"},
1728
{64, "EHOSTDOWN", "host is down"},
1729
{65, "EHOSTUNREACH", "no route to host"},
1730
{66, "ENOTEMPTY", "directory not empty"},
1731
{67, "EPROCLIM", "too many processes"},
1732
{68, "EUSERS", "too many users"},
1733
{69, "EDQUOT", "disc quota exceeded"},
1734
{70, "ESTALE", "stale NFS file handle"},
1735
{71, "EREMOTE", "too many levels of remote in path"},
1736
{72, "EBADRPC", "RPC struct is bad"},
1737
{73, "ERPCMISMATCH", "RPC version wrong"},
1738
{74, "EPROGUNAVAIL", "RPC prog. not avail"},
1739
{75, "EPROGMISMATCH", "program version wrong"},
1740
{76, "EPROCUNAVAIL", "bad procedure for program"},
1741
{77, "ENOLCK", "no locks available"},
1742
{78, "ENOSYS", "function not implemented"},
1743
{79, "EFTYPE", "inappropriate file type or format"},
1744
{80, "EAUTH", "authentication error"},
1745
{81, "ENEEDAUTH", "need authenticator"},
1746
{82, "EIDRM", "identifier removed"},
1747
{83, "ENOMSG", "no message of desired type"},
1748
{84, "EOVERFLOW", "value too large to be stored in data type"},
1749
{85, "ECANCELED", "operation canceled"},
1750
{86, "EILSEQ", "illegal byte sequence"},
1751
{87, "ENOATTR", "attribute not found"},
1752
{88, "EDOOFUS", "programming error"},
1753
{89, "EBADMSG", "bad message"},
1754
{90, "EMULTIHOP", "multihop attempted"},
1755
{91, "ENOLINK", "link has been severed"},
1756
{92, "EPROTO", "protocol error"},
1757
{93, "ENOTCAPABLE", "capabilities insufficient"},
1758
{94, "ECAPMODE", "not permitted in capability mode"},
1759
{95, "ENOTRECOVERABLE", "state not recoverable"},
1760
{96, "EOWNERDEAD", "previous owner died"},
1730
1763
// Signal table
1731
var signals = [...]string{
1735
4: "illegal instruction",
1736
5: "trace/BPT trap",
1739
8: "floating point exception",
1742
11: "segmentation fault",
1743
12: "bad system call",
1747
16: "urgent I/O condition",
1748
17: "suspended (signal)",
1752
21: "stopped (tty input)",
1753
22: "stopped (tty output)",
1755
24: "cputime limit exceeded",
1756
25: "filesize limit exceeded",
1757
26: "virtual timer expired",
1758
27: "profiling timer expired",
1759
28: "window size changes",
1760
29: "information request",
1761
30: "user defined signal 1",
1762
31: "user defined signal 2",
1763
32: "unknown signal",
1764
33: "unknown signal",
1764
var signalList = [...]struct {
1769
{1, "SIGHUP", "hangup"},
1770
{2, "SIGINT", "interrupt"},
1771
{3, "SIGQUIT", "quit"},
1772
{4, "SIGILL", "illegal instruction"},
1773
{5, "SIGTRAP", "trace/BPT trap"},
1774
{6, "SIGIOT", "abort trap"},
1775
{7, "SIGEMT", "EMT trap"},
1776
{8, "SIGFPE", "floating point exception"},
1777
{9, "SIGKILL", "killed"},
1778
{10, "SIGBUS", "bus error"},
1779
{11, "SIGSEGV", "segmentation fault"},
1780
{12, "SIGSYS", "bad system call"},
1781
{13, "SIGPIPE", "broken pipe"},
1782
{14, "SIGALRM", "alarm clock"},
1783
{15, "SIGTERM", "terminated"},
1784
{16, "SIGURG", "urgent I/O condition"},
1785
{17, "SIGSTOP", "suspended (signal)"},
1786
{18, "SIGTSTP", "suspended"},
1787
{19, "SIGCONT", "continued"},
1788
{20, "SIGCHLD", "child exited"},
1789
{21, "SIGTTIN", "stopped (tty input)"},
1790
{22, "SIGTTOU", "stopped (tty output)"},
1791
{23, "SIGIO", "I/O possible"},
1792
{24, "SIGXCPU", "cputime limit exceeded"},
1793
{25, "SIGXFSZ", "filesize limit exceeded"},
1794
{26, "SIGVTALRM", "virtual timer expired"},
1795
{27, "SIGPROF", "profiling timer expired"},
1796
{28, "SIGWINCH", "window size changes"},
1797
{29, "SIGINFO", "information request"},
1798
{30, "SIGUSR1", "user defined signal 1"},
1799
{31, "SIGUSR2", "user defined signal 2"},
1800
{32, "SIGTHR", "unknown signal"},
1801
{33, "SIGLIBRT", "unknown signal"},