Raymond Toy pushed to branch issue-446-use-cc-to-get-errno at cmucl / cmucl

Commits:

4 changed files:

Changes:

  • bin/create-errno.sh
    ... ... @@ -56,6 +56,11 @@ ERRNO_FILE="bin/errno-default.lisp"
    56 56
     # support code.
    
    57 57
     TEMPLATE="bin/errno-template.lisp"
    
    58 58
     
    
    59
    +# How to dump the macros.  This version works on Linux, Darwin, and
    
    60
    +# Solaris (with Sun C).  Update this below if we need some other way
    
    61
    +# for other OSes.
    
    62
    +DUMP_MACROS="cpp -dM -"
    
    63
    +
    
    59 64
     # Set ERRNO_FILE to an OS-specific name if possible.  If not, use the
    
    60 65
     # default ERRNO_FILE value.
    
    61 66
     if [ -z "$DEFAULT" ]; then
    
    ... ... @@ -81,9 +86,10 @@ find_errno ()
    81 86
         # Create appropriate DEF-UNIX-ERROR forms by reading header files
    
    82 87
         # containing the C definitions.
    
    83 88
         echo '#include <errno.h>' |
    
    84
    -	cc -dM -E - |
    
    89
    +	${DUMP_MACROS} |
    
    85 90
     	grep "#define[ \t]\{1,\}E[A-Z0-9]\{1,\}" |
    
    86
    -	sed 's/#define \(.*\) \(.*\)$/(def-unix-error \1 \2)/'
    
    91
    +	sed 's/#define \(.*\) \(.*\)$/(def-unix-error \1 \2)/' |
    
    92
    +	sort -n -k 3
    
    87 93
         #awk -f bin/create-def-unix-error.awk ${ERRNO_HEADERS}
    
    88 94
     }
    
    89 95
     
    

  • bin/errno-darwin.lisp
    1
    +(def-unix-error EWOULDBLOCK EAGAIN)
    
    2
    +(def-unix-error EPERM 1)
    
    3
    +(def-unix-error ENOENT 2)
    
    4
    +(def-unix-error ESRCH 3)
    
    5
    +(def-unix-error EINTR 4)
    
    6
    +(def-unix-error EIO 5)
    
    7
    +(def-unix-error ENXIO 6)
    
    1 8
     (def-unix-error E2BIG 7)
    
    2
    -(def-unix-error EACCES 13)
    
    3
    -(def-unix-error EADDRINUSE 48)
    
    4
    -(def-unix-error EADDRNOTAVAIL 49)
    
    5
    -(def-unix-error EAFNOSUPPORT 47)
    
    6
    -(def-unix-error EAGAIN 35)
    
    7
    -(def-unix-error EALREADY 37)
    
    8
    -(def-unix-error EAUTH 80)
    
    9
    -(def-unix-error EBADARCH 86)
    
    10
    -(def-unix-error EBADEXEC 85)
    
    9
    +(def-unix-error ENOEXEC 8)
    
    11 10
     (def-unix-error EBADF 9)
    
    12
    -(def-unix-error EBADMACHO 88)
    
    13
    -(def-unix-error EBADMSG 94)
    
    14
    -(def-unix-error EBADRPC 72)
    
    15
    -(def-unix-error EBUSY 16)
    
    16
    -(def-unix-error ECANCELED 89)
    
    17 11
     (def-unix-error ECHILD 10)
    
    18
    -(def-unix-error ECONNABORTED 53)
    
    19
    -(def-unix-error ECONNREFUSED 61)
    
    20
    -(def-unix-error ECONNRESET 54)
    
    21 12
     (def-unix-error EDEADLK 11)
    
    22
    -(def-unix-error EDESTADDRREQ 39)
    
    23
    -(def-unix-error EDEVERR 83)
    
    24
    -(def-unix-error EDOM 33)
    
    25
    -(def-unix-error EDQUOT 69)
    
    26
    -(def-unix-error EEXIST 17)
    
    13
    +(def-unix-error ENOMEM 12)
    
    14
    +(def-unix-error EACCES 13)
    
    27 15
     (def-unix-error EFAULT 14)
    
    28
    -(def-unix-error EFBIG 27)
    
    29
    -(def-unix-error EFTYPE 79)
    
    30
    -(def-unix-error EHOSTDOWN 64)
    
    31
    -(def-unix-error EHOSTUNREACH 65)
    
    32
    -(def-unix-error EIDRM 90)
    
    33
    -(def-unix-error EILSEQ 92)
    
    34
    -(def-unix-error EINPROGRESS 36)
    
    35
    -(def-unix-error EINTR 4)
    
    36
    -(def-unix-error EINVAL 22)
    
    37
    -(def-unix-error EIO 5)
    
    38
    -(def-unix-error EISCONN 56)
    
    16
    +(def-unix-error ENOTBLK 15)
    
    17
    +(def-unix-error EBUSY 16)
    
    18
    +(def-unix-error EEXIST 17)
    
    19
    +(def-unix-error EXDEV 18)
    
    20
    +(def-unix-error ENODEV 19)
    
    21
    +(def-unix-error ENOTDIR 20)
    
    39 22
     (def-unix-error EISDIR 21)
    
    40
    -(def-unix-error ELAST 106)
    
    41
    -(def-unix-error ELOOP 62)
    
    23
    +(def-unix-error EINVAL 22)
    
    24
    +(def-unix-error ENFILE 23)
    
    42 25
     (def-unix-error EMFILE 24)
    
    26
    +(def-unix-error ENOTTY 25)
    
    27
    +(def-unix-error ETXTBSY 26)
    
    28
    +(def-unix-error EFBIG 27)
    
    29
    +(def-unix-error ENOSPC 28)
    
    30
    +(def-unix-error ESPIPE 29)
    
    31
    +(def-unix-error EROFS 30)
    
    43 32
     (def-unix-error EMLINK 31)
    
    33
    +(def-unix-error EPIPE 32)
    
    34
    +(def-unix-error EDOM 33)
    
    35
    +(def-unix-error ERANGE 34)
    
    36
    +(def-unix-error EAGAIN 35)
    
    37
    +(def-unix-error EINPROGRESS 36)
    
    38
    +(def-unix-error EALREADY 37)
    
    39
    +(def-unix-error ENOTSOCK 38)
    
    40
    +(def-unix-error EDESTADDRREQ 39)
    
    44 41
     (def-unix-error EMSGSIZE 40)
    
    45
    -(def-unix-error EMULTIHOP 95)
    
    46
    -(def-unix-error ENAMETOOLONG 63)
    
    47
    -(def-unix-error ENEEDAUTH 81)
    
    42
    +(def-unix-error EPROTOTYPE 41)
    
    43
    +(def-unix-error ENOPROTOOPT 42)
    
    44
    +(def-unix-error EPROTONOSUPPORT 43)
    
    45
    +(def-unix-error ESOCKTNOSUPPORT 44)
    
    46
    +(def-unix-error ENOTSUP 45)
    
    47
    +(def-unix-error EPFNOSUPPORT 46)
    
    48
    +(def-unix-error EAFNOSUPPORT 47)
    
    49
    +(def-unix-error EADDRINUSE 48)
    
    50
    +(def-unix-error EADDRNOTAVAIL 49)
    
    48 51
     (def-unix-error ENETDOWN 50)
    
    49
    -(def-unix-error ENETRESET 52)
    
    50 52
     (def-unix-error ENETUNREACH 51)
    
    51
    -(def-unix-error ENFILE 23)
    
    52
    -(def-unix-error ENOATTR 93)
    
    53
    +(def-unix-error ENETRESET 52)
    
    54
    +(def-unix-error ECONNABORTED 53)
    
    55
    +(def-unix-error ECONNRESET 54)
    
    53 56
     (def-unix-error ENOBUFS 55)
    
    54
    -(def-unix-error ENODATA 96)
    
    55
    -(def-unix-error ENODEV 19)
    
    56
    -(def-unix-error ENOENT 2)
    
    57
    -(def-unix-error ENOEXEC 8)
    
    58
    -(def-unix-error ENOLCK 77)
    
    59
    -(def-unix-error ENOLINK 97)
    
    60
    -(def-unix-error ENOMEM 12)
    
    61
    -(def-unix-error ENOMSG 91)
    
    62
    -(def-unix-error ENOPOLICY 103)
    
    63
    -(def-unix-error ENOPROTOOPT 42)
    
    64
    -(def-unix-error ENOSPC 28)
    
    65
    -(def-unix-error ENOSR 98)
    
    66
    -(def-unix-error ENOSTR 99)
    
    67
    -(def-unix-error ENOSYS 78)
    
    68
    -(def-unix-error ENOTBLK 15)
    
    57
    +(def-unix-error EISCONN 56)
    
    69 58
     (def-unix-error ENOTCONN 57)
    
    70
    -(def-unix-error ENOTDIR 20)
    
    59
    +(def-unix-error ESHUTDOWN 58)
    
    60
    +(def-unix-error ETOOMANYREFS 59)
    
    61
    +(def-unix-error ETIMEDOUT 60)
    
    62
    +(def-unix-error ECONNREFUSED 61)
    
    63
    +(def-unix-error ELOOP 62)
    
    64
    +(def-unix-error ENAMETOOLONG 63)
    
    65
    +(def-unix-error EHOSTDOWN 64)
    
    66
    +(def-unix-error EHOSTUNREACH 65)
    
    71 67
     (def-unix-error ENOTEMPTY 66)
    
    72
    -(def-unix-error ENOTRECOVERABLE 104)
    
    73
    -(def-unix-error ENOTSOCK 38)
    
    74
    -(def-unix-error ENOTSUP 45)
    
    75
    -(def-unix-error ENOTTY 25)
    
    76
    -(def-unix-error ENXIO 6)
    
    77
    -(def-unix-error EOPNOTSUPP 102)
    
    78
    -(def-unix-error EOVERFLOW 84)
    
    79
    -(def-unix-error EOWNERDEAD 105)
    
    80
    -(def-unix-error EPERM 1)
    
    81
    -(def-unix-error EPFNOSUPPORT 46)
    
    82
    -(def-unix-error EPIPE 32)
    
    83 68
     (def-unix-error EPROCLIM 67)
    
    84
    -(def-unix-error EPROCUNAVAIL 76)
    
    85
    -(def-unix-error EPROGMISMATCH 75)
    
    86
    -(def-unix-error EPROGUNAVAIL 74)
    
    87
    -(def-unix-error EPROTO 100)
    
    88
    -(def-unix-error EPROTONOSUPPORT 43)
    
    89
    -(def-unix-error EPROTOTYPE 41)
    
    90
    -(def-unix-error EPWROFF 82)
    
    91
    -(def-unix-error EQFULL 106)
    
    92
    -(def-unix-error ERANGE 34)
    
    69
    +(def-unix-error EUSERS 68)
    
    70
    +(def-unix-error EDQUOT 69)
    
    71
    +(def-unix-error ESTALE 70)
    
    93 72
     (def-unix-error EREMOTE 71)
    
    94
    -(def-unix-error EROFS 30)
    
    73
    +(def-unix-error EBADRPC 72)
    
    95 74
     (def-unix-error ERPCMISMATCH 73)
    
    75
    +(def-unix-error EPROGUNAVAIL 74)
    
    76
    +(def-unix-error EPROGMISMATCH 75)
    
    77
    +(def-unix-error EPROCUNAVAIL 76)
    
    78
    +(def-unix-error ENOLCK 77)
    
    79
    +(def-unix-error ENOSYS 78)
    
    80
    +(def-unix-error EFTYPE 79)
    
    81
    +(def-unix-error EAUTH 80)
    
    82
    +(def-unix-error ENEEDAUTH 81)
    
    83
    +(def-unix-error EPWROFF 82)
    
    84
    +(def-unix-error EDEVERR 83)
    
    85
    +(def-unix-error EOVERFLOW 84)
    
    86
    +(def-unix-error EBADEXEC 85)
    
    87
    +(def-unix-error EBADARCH 86)
    
    96 88
     (def-unix-error ESHLIBVERS 87)
    
    97
    -(def-unix-error ESHUTDOWN 58)
    
    98
    -(def-unix-error ESOCKTNOSUPPORT 44)
    
    99
    -(def-unix-error ESPIPE 29)
    
    100
    -(def-unix-error ESRCH 3)
    
    101
    -(def-unix-error ESTALE 70)
    
    89
    +(def-unix-error EBADMACHO 88)
    
    90
    +(def-unix-error ECANCELED 89)
    
    91
    +(def-unix-error EIDRM 90)
    
    92
    +(def-unix-error ENOMSG 91)
    
    93
    +(def-unix-error EILSEQ 92)
    
    94
    +(def-unix-error ENOATTR 93)
    
    95
    +(def-unix-error EBADMSG 94)
    
    96
    +(def-unix-error EMULTIHOP 95)
    
    97
    +(def-unix-error ENODATA 96)
    
    98
    +(def-unix-error ENOLINK 97)
    
    99
    +(def-unix-error ENOSR 98)
    
    100
    +(def-unix-error ENOSTR 99)
    
    101
    +(def-unix-error EPROTO 100)
    
    102 102
     (def-unix-error ETIME 101)
    
    103
    -(def-unix-error ETIMEDOUT 60)
    
    104
    -(def-unix-error ETOOMANYREFS 59)
    
    105
    -(def-unix-error ETXTBSY 26)
    
    106
    -(def-unix-error EUSERS 68)
    
    107
    -(def-unix-error EWOULDBLOCK EAGAIN)
    
    108
    -(def-unix-error EXDEV 18)
    103
    +(def-unix-error EOPNOTSUPP 102)
    
    104
    +(def-unix-error ENOPOLICY 103)
    
    105
    +(def-unix-error ENOTRECOVERABLE 104)
    
    106
    +(def-unix-error EOWNERDEAD 105)
    
    107
    +(def-unix-error ELAST 106)
    
    108
    +(def-unix-error EQFULL 106)

  • bin/errno-linux.lisp
    1
    -(def-unix-error EMULTIHOP 72)
    
    2
    -(def-unix-error EUNATCH 49)
    
    3
    -(def-unix-error EAFNOSUPPORT 97)
    
    4
    -(def-unix-error ELIBMAX 82)
    
    5
    -(def-unix-error EREMCHG 78)
    
    1
    +(def-unix-error EDEADLOCK EDEADLK)
    
    2
    +(def-unix-error ENOTSUP EOPNOTSUPP)
    
    3
    +(def-unix-error EWOULDBLOCK EAGAIN)
    
    4
    +(def-unix-error EPERM 1)
    
    5
    +(def-unix-error ENOENT 2)
    
    6
    +(def-unix-error ESRCH 3)
    
    7
    +(def-unix-error EINTR 4)
    
    8
    +(def-unix-error EIO 5)
    
    9
    +(def-unix-error ENXIO 6)
    
    10
    +(def-unix-error E2BIG 7)
    
    11
    +(def-unix-error ENOEXEC 8)
    
    12
    +(def-unix-error EBADF 9)
    
    13
    +(def-unix-error ECHILD 10)
    
    14
    +(def-unix-error EAGAIN 11)
    
    15
    +(def-unix-error ENOMEM 12)
    
    6 16
     (def-unix-error EACCES 13)
    
    7
    -(def-unix-error EDESTADDRREQ 89)
    
    8
    -(def-unix-error EILSEQ 84)
    
    17
    +(def-unix-error EFAULT 14)
    
    18
    +(def-unix-error ENOTBLK 15)
    
    19
    +(def-unix-error EBUSY 16)
    
    20
    +(def-unix-error EEXIST 17)
    
    21
    +(def-unix-error EXDEV 18)
    
    22
    +(def-unix-error ENODEV 19)
    
    23
    +(def-unix-error ENOTDIR 20)
    
    24
    +(def-unix-error EISDIR 21)
    
    25
    +(def-unix-error EINVAL 22)
    
    26
    +(def-unix-error ENFILE 23)
    
    27
    +(def-unix-error EMFILE 24)
    
    28
    +(def-unix-error ENOTTY 25)
    
    29
    +(def-unix-error ETXTBSY 26)
    
    30
    +(def-unix-error EFBIG 27)
    
    31
    +(def-unix-error ENOSPC 28)
    
    9 32
     (def-unix-error ESPIPE 29)
    
    33
    +(def-unix-error EROFS 30)
    
    10 34
     (def-unix-error EMLINK 31)
    
    11
    -(def-unix-error EOWNERDEAD 130)
    
    12
    -(def-unix-error ENOTTY 25)
    
    13
    -(def-unix-error EBADE 52)
    
    14
    -(def-unix-error EBADF 9)
    
    15
    -(def-unix-error EBADR 53)
    
    16
    -(def-unix-error EADV 68)
    
    35
    +(def-unix-error EPIPE 32)
    
    36
    +(def-unix-error EDOM 33)
    
    17 37
     (def-unix-error ERANGE 34)
    
    18
    -(def-unix-error ECANCELED 125)
    
    19
    -(def-unix-error ETXTBSY 26)
    
    20
    -(def-unix-error ENOMEM 12)
    
    21
    -(def-unix-error EINPROGRESS 115)
    
    22
    -(def-unix-error ENOTBLK 15)
    
    23
    -(def-unix-error EPROTOTYPE 91)
    
    24
    -(def-unix-error ERESTART 85)
    
    25
    -(def-unix-error EISNAM 120)
    
    26
    -(def-unix-error ENOMSG 42)
    
    27
    -(def-unix-error EALREADY 114)
    
    28
    -(def-unix-error ETIMEDOUT 110)
    
    29
    -(def-unix-error ENODATA 61)
    
    30
    -(def-unix-error EINTR 4)
    
    31
    -(def-unix-error ENOLINK 67)
    
    32
    -(def-unix-error ECHILD 10)
    
    33
    -(def-unix-error EPERM 1)
    
    38
    +(def-unix-error EDEADLK 35)
    
    39
    +(def-unix-error ENAMETOOLONG 36)
    
    40
    +(def-unix-error ENOLCK 37)
    
    41
    +(def-unix-error ENOSYS 38)
    
    42
    +(def-unix-error ENOTEMPTY 39)
    
    34 43
     (def-unix-error ELOOP 40)
    
    35
    -(def-unix-error ESTALE 116)
    
    36
    -(def-unix-error ENOTSOCK 88)
    
    37
    -(def-unix-error ENOSR 63)
    
    38
    -(def-unix-error EBADMSG 74)
    
    44
    +(def-unix-error ENOMSG 42)
    
    45
    +(def-unix-error EIDRM 43)
    
    46
    +(def-unix-error ECHRNG 44)
    
    47
    +(def-unix-error EL2NSYNC 45)
    
    48
    +(def-unix-error EL3HLT 46)
    
    49
    +(def-unix-error EL3RST 47)
    
    39 50
     (def-unix-error ELNRNG 48)
    
    40
    -(def-unix-error ENOTUNIQ 76)
    
    41
    -(def-unix-error ENOSYS 38)
    
    42
    -(def-unix-error EDEADLK 35)
    
    43
    -(def-unix-error EPIPE 32)
    
    51
    +(def-unix-error EUNATCH 49)
    
    52
    +(def-unix-error ENOCSI 50)
    
    53
    +(def-unix-error EL2HLT 51)
    
    54
    +(def-unix-error EBADE 52)
    
    55
    +(def-unix-error EBADR 53)
    
    56
    +(def-unix-error EXFULL 54)
    
    57
    +(def-unix-error ENOANO 55)
    
    58
    +(def-unix-error EBADRQC 56)
    
    59
    +(def-unix-error EBADSLT 57)
    
    44 60
     (def-unix-error EBFONT 59)
    
    45
    -(def-unix-error ERFKILL 132)
    
    61
    +(def-unix-error ENOSTR 60)
    
    62
    +(def-unix-error ENODATA 61)
    
    63
    +(def-unix-error ETIME 62)
    
    64
    +(def-unix-error ENOSR 63)
    
    65
    +(def-unix-error ENONET 64)
    
    66
    +(def-unix-error ENOPKG 65)
    
    46 67
     (def-unix-error EREMOTE 66)
    
    47
    -(def-unix-error ETOOMANYREFS 109)
    
    48
    -(def-unix-error EPFNOSUPPORT 96)
    
    49
    -(def-unix-error ENOTSUP EOPNOTSUPP)
    
    68
    +(def-unix-error ENOLINK 67)
    
    69
    +(def-unix-error EADV 68)
    
    50 70
     (def-unix-error ESRMNT 69)
    
    51
    -(def-unix-error ENONET 64)
    
    52
    -(def-unix-error ENOTNAM 118)
    
    71
    +(def-unix-error ECOMM 70)
    
    72
    +(def-unix-error EPROTO 71)
    
    73
    +(def-unix-error EMULTIHOP 72)
    
    74
    +(def-unix-error EDOTDOT 73)
    
    75
    +(def-unix-error EBADMSG 74)
    
    76
    +(def-unix-error EOVERFLOW 75)
    
    77
    +(def-unix-error ENOTUNIQ 76)
    
    78
    +(def-unix-error EBADFD 77)
    
    79
    +(def-unix-error EREMCHG 78)
    
    80
    +(def-unix-error ELIBACC 79)
    
    81
    +(def-unix-error ELIBBAD 80)
    
    82
    +(def-unix-error ELIBSCN 81)
    
    83
    +(def-unix-error ELIBMAX 82)
    
    53 84
     (def-unix-error ELIBEXEC 83)
    
    54
    -(def-unix-error EKEYREJECTED 129)
    
    55
    -(def-unix-error ENOCSI 50)
    
    56
    -(def-unix-error ENOTEMPTY 39)
    
    85
    +(def-unix-error EILSEQ 84)
    
    86
    +(def-unix-error ERESTART 85)
    
    87
    +(def-unix-error ESTRPIPE 86)
    
    88
    +(def-unix-error EUSERS 87)
    
    89
    +(def-unix-error ENOTSOCK 88)
    
    90
    +(def-unix-error EDESTADDRREQ 89)
    
    91
    +(def-unix-error EMSGSIZE 90)
    
    92
    +(def-unix-error EPROTOTYPE 91)
    
    93
    +(def-unix-error ENOPROTOOPT 92)
    
    94
    +(def-unix-error EPROTONOSUPPORT 93)
    
    95
    +(def-unix-error ESOCKTNOSUPPORT 94)
    
    96
    +(def-unix-error EOPNOTSUPP 95)
    
    97
    +(def-unix-error EPFNOSUPPORT 96)
    
    98
    +(def-unix-error EAFNOSUPPORT 97)
    
    57 99
     (def-unix-error EADDRINUSE 98)
    
    100
    +(def-unix-error EADDRNOTAVAIL 99)
    
    101
    +(def-unix-error ENETDOWN 100)
    
    102
    +(def-unix-error ENETUNREACH 101)
    
    58 103
     (def-unix-error ENETRESET 102)
    
    59
    -(def-unix-error EISDIR 21)
    
    60
    -(def-unix-error EIDRM 43)
    
    61
    -(def-unix-error ECOMM 70)
    
    62 104
     (def-unix-error ECONNABORTED 103)
    
    63
    -(def-unix-error EHOSTUNREACH 113)
    
    64
    -(def-unix-error EBADFD 77)
    
    65
    -(def-unix-error EL3HLT 46)
    
    66
    -(def-unix-error EL2HLT 51)
    
    67
    -(def-unix-error ENOKEY 126)
    
    68
    -(def-unix-error EINVAL 22)
    
    69
    -(def-unix-error EADDRNOTAVAIL 99)
    
    105
    +(def-unix-error ECONNRESET 104)
    
    106
    +(def-unix-error ENOBUFS 105)
    
    107
    +(def-unix-error EISCONN 106)
    
    108
    +(def-unix-error ENOTCONN 107)
    
    70 109
     (def-unix-error ESHUTDOWN 108)
    
    71
    -(def-unix-error ELIBSCN 81)
    
    72
    -(def-unix-error ENAVAIL 119)
    
    73
    -(def-unix-error ENOSTR 60)
    
    74
    -(def-unix-error EMFILE 24)
    
    75
    -(def-unix-error EOVERFLOW 75)
    
    110
    +(def-unix-error ETOOMANYREFS 109)
    
    111
    +(def-unix-error ETIMEDOUT 110)
    
    112
    +(def-unix-error ECONNREFUSED 111)
    
    113
    +(def-unix-error EHOSTDOWN 112)
    
    114
    +(def-unix-error EHOSTUNREACH 113)
    
    115
    +(def-unix-error EALREADY 114)
    
    116
    +(def-unix-error EINPROGRESS 115)
    
    117
    +(def-unix-error ESTALE 116)
    
    76 118
     (def-unix-error EUCLEAN 117)
    
    119
    +(def-unix-error ENOTNAM 118)
    
    120
    +(def-unix-error ENAVAIL 119)
    
    121
    +(def-unix-error EISNAM 120)
    
    122
    +(def-unix-error EREMOTEIO 121)
    
    123
    +(def-unix-error EDQUOT 122)
    
    77 124
     (def-unix-error ENOMEDIUM 123)
    
    78
    -(def-unix-error EBUSY 16)
    
    79
    -(def-unix-error EPROTO 71)
    
    80
    -(def-unix-error ENODEV 19)
    
    125
    +(def-unix-error EMEDIUMTYPE 124)
    
    126
    +(def-unix-error ECANCELED 125)
    
    127
    +(def-unix-error ENOKEY 126)
    
    81 128
     (def-unix-error EKEYEXPIRED 127)
    
    82
    -(def-unix-error EROFS 30)
    
    83
    -(def-unix-error ELIBACC 79)
    
    84
    -(def-unix-error EHWPOISON 133)
    
    85
    -(def-unix-error E2BIG 7)
    
    86
    -(def-unix-error ECONNRESET 104)
    
    87
    -(def-unix-error ENXIO 6)
    
    88
    -(def-unix-error EBADRQC 56)
    
    89
    -(def-unix-error EL3RST 47)
    
    90
    -(def-unix-error ENAMETOOLONG 36)
    
    91
    -(def-unix-error ESOCKTNOSUPPORT 94)
    
    92
    -(def-unix-error EDOTDOT 73)
    
    93
    -(def-unix-error ETIME 62)
    
    94
    -(def-unix-error EPROTONOSUPPORT 93)
    
    95
    -(def-unix-error ENOTRECOVERABLE 131)
    
    96
    -(def-unix-error EIO 5)
    
    97
    -(def-unix-error ENETUNREACH 101)
    
    98
    -(def-unix-error EXDEV 18)
    
    99
    -(def-unix-error EDQUOT 122)
    
    100
    -(def-unix-error EREMOTEIO 121)
    
    101
    -(def-unix-error ENOSPC 28)
    
    102
    -(def-unix-error ENOEXEC 8)
    
    103
    -(def-unix-error EMSGSIZE 90)
    
    104
    -(def-unix-error EBADSLT 57)
    
    105
    -(def-unix-error EDOM 33)
    
    106
    -(def-unix-error EFBIG 27)
    
    107
    -(def-unix-error ESRCH 3)
    
    108
    -(def-unix-error ECHRNG 44)
    
    109
    -(def-unix-error EHOSTDOWN 112)
    
    110
    -(def-unix-error ENOLCK 37)
    
    111
    -(def-unix-error ENFILE 23)
    
    112
    -(def-unix-error ENOTCONN 107)
    
    113
    -(def-unix-error EDEADLOCK EDEADLK)
    
    114
    -(def-unix-error ENOANO 55)
    
    115
    -(def-unix-error EISCONN 106)
    
    116
    -(def-unix-error EUSERS 87)
    
    117
    -(def-unix-error ENETDOWN 100)
    
    118
    -(def-unix-error ENOPROTOOPT 92)
    
    119
    -(def-unix-error ENOBUFS 105)
    
    120
    -(def-unix-error EFAULT 14)
    
    121
    -(def-unix-error EWOULDBLOCK EAGAIN)
    
    122
    -(def-unix-error ELIBBAD 80)
    
    123
    -(def-unix-error ESTRPIPE 86)
    
    124
    -(def-unix-error ECONNREFUSED 111)
    
    125
    -(def-unix-error EAGAIN 11)
    
    126
    -(def-unix-error EEXIST 17)
    
    127
    -(def-unix-error EL2NSYNC 45)
    
    128
    -(def-unix-error ENOENT 2)
    
    129
    -(def-unix-error ENOPKG 65)
    
    130
    -(def-unix-error EXFULL 54)
    
    131 129
     (def-unix-error EKEYREVOKED 128)
    
    132
    -(def-unix-error EOPNOTSUPP 95)
    
    133
    -(def-unix-error ENOTDIR 20)
    
    134
    -(def-unix-error EMEDIUMTYPE 124)
    130
    +(def-unix-error EKEYREJECTED 129)
    
    131
    +(def-unix-error EOWNERDEAD 130)
    
    132
    +(def-unix-error ENOTRECOVERABLE 131)
    
    133
    +(def-unix-error ERFKILL 132)
    
    134
    +(def-unix-error EHWPOISON 133)

  • bin/errno-solaris.lisp
    1
    +(def-unix-error EWOULDBLOCK EAGAIN)
    
    2
    +(def-unix-error EPERM 1)
    
    3
    +(def-unix-error ENOENT 2)
    
    4
    +(def-unix-error ESRCH 3)
    
    5
    +(def-unix-error EINTR 4)
    
    6
    +(def-unix-error EIO 5)
    
    7
    +(def-unix-error ENXIO 6)
    
    8
    +(def-unix-error E2BIG 7)
    
    9
    +(def-unix-error ENOEXEC 8)
    
    10
    +(def-unix-error EBADF 9)
    
    11
    +(def-unix-error ECHILD 10)
    
    12
    +(def-unix-error EAGAIN 11)
    
    13
    +(def-unix-error ENOMEM 12)
    
    14
    +(def-unix-error EACCES 13)
    
    15
    +(def-unix-error EFAULT 14)
    
    16
    +(def-unix-error ENOTBLK 15)
    
    17
    +(def-unix-error EBUSY 16)
    
    18
    +(def-unix-error EEXIST 17)
    
    19
    +(def-unix-error EXDEV 18)
    
    20
    +(def-unix-error ENODEV 19)
    
    21
    +(def-unix-error ENOTDIR 20)
    
    22
    +(def-unix-error EISDIR 21)
    
    23
    +(def-unix-error EINVAL 22)
    
    24
    +(def-unix-error ENFILE 23)
    
    25
    +(def-unix-error EMFILE 24)
    
    26
    +(def-unix-error ENOTTY 25)
    
    27
    +(def-unix-error ETXTBSY 26)
    
    28
    +(def-unix-error EFBIG 27)
    
    29
    +(def-unix-error ENOSPC 28)
    
    30
    +(def-unix-error ESPIPE 29)
    
    31
    +(def-unix-error EROFS 30)
    
    32
    +(def-unix-error EMLINK 31)
    
    33
    +(def-unix-error EPIPE 32)
    
    34
    +(def-unix-error EDOM 33)
    
    35
    +(def-unix-error ERANGE 34)
    
    36
    +(def-unix-error ENOMSG 35)
    
    37
    +(def-unix-error EIDRM 36)
    
    38
    +(def-unix-error ECHRNG 37)
    
    39
    +(def-unix-error EL2NSYNC 38)
    
    40
    +(def-unix-error EL3HLT 39)
    
    41
    +(def-unix-error EL3RST 40)
    
    42
    +(def-unix-error ELNRNG 41)
    
    43
    +(def-unix-error EUNATCH 42)
    
    44
    +(def-unix-error ENOCSI 43)
    
    45
    +(def-unix-error EL2HLT 44)
    
    46
    +(def-unix-error EDEADLK 45)
    
    47
    +(def-unix-error ENOLCK 46)
    
    48
    +(def-unix-error ECANCELED 47)
    
    49
    +(def-unix-error ENOTSUP 48)
    
    50
    +(def-unix-error EDQUOT 49)
    
    51
    +(def-unix-error EBADE 50)
    
    52
    +(def-unix-error EBADR 51)
    
    53
    +(def-unix-error EXFULL 52)
    
    54
    +(def-unix-error ENOANO 53)
    
    55
    +(def-unix-error EBADRQC 54)
    
    56
    +(def-unix-error EBADSLT 55)
    
    57
    +(def-unix-error EDEADLOCK 56)
    
    58
    +(def-unix-error EBFONT 57)
    
    59
    +(def-unix-error EOWNERDEAD 58)
    
    60
    +(def-unix-error ENOTRECOVERABLE 59)
    
    61
    +(def-unix-error ENOSTR 60)
    
    62
    +(def-unix-error ENODATA 61)
    
    63
    +(def-unix-error ETIME 62)
    
    64
    +(def-unix-error ENOSR 63)
    
    65
    +(def-unix-error ENONET 64)
    
    66
    +(def-unix-error ENOPKG 65)
    
    67
    +(def-unix-error EREMOTE 66)
    
    68
    +(def-unix-error ENOLINK 67)
    
    69
    +(def-unix-error EADV 68)
    
    70
    +(def-unix-error ESRMNT 69)
    
    71
    +(def-unix-error ECOMM 70)
    
    72
    +(def-unix-error EPROTO 71)
    
    73
    +(def-unix-error ELOCKUNMAPPED 72)
    
    74
    +(def-unix-error ENOTACTIVE 73)
    
    75
    +(def-unix-error EMULTIHOP 74)
    
    76
    +(def-unix-error EADI 75)
    
    77
    +(def-unix-error EBADMSG 77)
    
    78
    +(def-unix-error ENAMETOOLONG 78)
    
    79
    +(def-unix-error EOVERFLOW 79)
    
    80
    +(def-unix-error ENOTUNIQ 80)
    
    81
    +(def-unix-error EBADFD 81)
    
    82
    +(def-unix-error EREMCHG 82)
    
    83
    +(def-unix-error ELIBACC 83)
    
    84
    +(def-unix-error ELIBBAD 84)
    
    85
    +(def-unix-error ELIBSCN 85)
    
    86
    +(def-unix-error ELIBMAX 86)
    
    87
    +(def-unix-error ELIBEXEC 87)
    
    88
    +(def-unix-error EILSEQ 88)
    
    89
    +(def-unix-error ENOSYS 89)
    
    90
    +(def-unix-error ELOOP 90)
    
    91
    +(def-unix-error ERESTART 91)
    
    92
    +(def-unix-error ESTRPIPE 92)
    
    93
    +(def-unix-error ENOTEMPTY 93)
    
    94
    +(def-unix-error EUSERS 94)
    
    95
    +(def-unix-error ENOTSOCK 95)
    
    96
    +(def-unix-error EDESTADDRREQ 96)
    
    97
    +(def-unix-error EMSGSIZE 97)
    
    98
    +(def-unix-error EPROTOTYPE 98)
    
    99
    +(def-unix-error ENOPROTOOPT 99)
    
    100
    +(def-unix-error EPROTONOSUPPORT 120)
    
    101
    +(def-unix-error ESOCKTNOSUPPORT 121)
    
    102
    +(def-unix-error EOPNOTSUPP 122)
    
    103
    +(def-unix-error EPFNOSUPPORT 123)
    
    104
    +(def-unix-error EAFNOSUPPORT 124)
    
    105
    +(def-unix-error EADDRINUSE 125)
    
    106
    +(def-unix-error EADDRNOTAVAIL 126)
    
    107
    +(def-unix-error ENETDOWN 127)
    
    108
    +(def-unix-error ENETUNREACH 128)
    
    109
    +(def-unix-error ENETRESET 129)
    
    110
    +(def-unix-error ECONNABORTED 130)
    
    111
    +(def-unix-error ECONNRESET 131)
    
    112
    +(def-unix-error ENOBUFS 132)
    
    113
    +(def-unix-error EISCONN 133)
    
    114
    +(def-unix-error ENOTCONN 134)
    
    115
    +(def-unix-error ESHUTDOWN 143)
    
    116
    +(def-unix-error ETOOMANYREFS 144)
    
    117
    +(def-unix-error ETIMEDOUT 145)
    
    118
    +(def-unix-error ECONNREFUSED 146)
    
    119
    +(def-unix-error EHOSTDOWN 147)
    
    120
    +(def-unix-error EHOSTUNREACH 148)
    
    121
    +(def-unix-error EALREADY 149)
    
    122
    +(def-unix-error EINPROGRESS 150)
    
    123
    +(def-unix-error ESTALE 151)