libk  Diff

Differences From Artifact [88f88edd37]:

To Artifact [991d95c3d6]:


     1      1   #ifndef KIplatform_error
     2      2   #define KIplatform_error
     3      3   
     4      4   enum k_platform_error {
     5         -
     6         -	k_platform_error_EPERM = 1,
     7         -	k_platform_error_ENOENT = 2,
     8         -	k_platform_error_ESRCH = 3,
     9         -	k_platform_error_EINTR = 4,
    10         -	k_platform_error_EIO = 5,
    11         -	k_platform_error_ENXIO = 6,
    12         -	k_platform_error_E2BIG = 7,
    13         -	k_platform_error_ENOEXEC = 8,
    14         -	k_platform_error_EBADF = 9,
    15         -	k_platform_error_ECHILD = 10,
    16         -	k_platform_error_EAGAIN = 11,
    17         -	k_platform_error_EWOULDBLOCK = 11,
    18         -	k_platform_error_ENOMEM = 12,
    19         -	k_platform_error_EACCES = 13,
    20         -	k_platform_error_EFAULT = 14,
    21         -	k_platform_error_ENOTBLK = 15,
    22         -	k_platform_error_EBUSY = 16,
    23         -	k_platform_error_EEXIST = 17,
    24         -	k_platform_error_EXDEV = 18,
    25         -	k_platform_error_ENODEV = 19,
    26         -	k_platform_error_ENOTDIR = 20,
    27         -	k_platform_error_EISDIR = 21,
    28         -	k_platform_error_EINVAL = 22,
    29         -	k_platform_error_ENFILE = 23,
    30         -	k_platform_error_EMFILE = 24,
    31         -	k_platform_error_ENOTTY = 25,
    32         -	k_platform_error_ETXTBSY = 26,
    33         -	k_platform_error_EFBIG = 27,
    34         -	k_platform_error_ENOSPC = 28,
    35         -	k_platform_error_ESPIPE = 29,
    36         -	k_platform_error_EROFS = 30,
    37         -	k_platform_error_EMLINK = 31,
    38         -	k_platform_error_EPIPE = 32,
    39         -	k_platform_error_EDOM = 33,
    40         -	k_platform_error_ERANGE = 34,
    41         -	k_platform_error_EDEADLK = 35,
    42         -	k_platform_error_EDEADLOCK = 35,
    43         -	k_platform_error_ENAMETOOLONG = 36,
    44         -	k_platform_error_ENOLCK = 37,
    45         -	k_platform_error_ENOSYS = 38,
    46         -	k_platform_error_ENOTEMPTY = 39,
    47         -	k_platform_error_ELOOP = 40,
    48         -	k_platform_error_ENOMSG = 42,
    49         -	k_platform_error_EIDRM = 43,
    50         -	k_platform_error_ECHRNG = 44,
    51         -	k_platform_error_EL2NSYNC = 45,
    52         -	k_platform_error_EL3HLT = 46,
    53         -	k_platform_error_EL3RST = 47,
    54         -	k_platform_error_ELNRNG = 48,
    55         -	k_platform_error_EUNATCH = 49,
    56         -	k_platform_error_ENOCSI = 50,
    57         -	k_platform_error_EL2HLT = 51,
    58         -	k_platform_error_EBADE = 52,
    59         -	k_platform_error_EBADR = 53,
    60         -	k_platform_error_EXFULL = 54,
    61         -	k_platform_error_ENOANO = 55,
    62         -	k_platform_error_EBADRQC = 56,
    63         -	k_platform_error_EBADSLT = 57,
    64         -	k_platform_error_EBFONT = 59,
    65         -	k_platform_error_ENOSTR = 60,
    66         -	k_platform_error_ENODATA = 61,
    67         -	k_platform_error_ETIME = 62,
    68         -	k_platform_error_ENOSR = 63,
    69         -	k_platform_error_ENONET = 64,
    70         -	k_platform_error_ENOPKG = 65,
    71         -	k_platform_error_EREMOTE = 66,
            5  +	k_platform_error_EHWPOISON = 133,
            6  +	k_platform_error_ERFKILL = 132,
            7  +	k_platform_error_ENOTRECOVERABLE = 131,
            8  +	k_platform_error_EOWNERDEAD = 130,
            9  +	k_platform_error_EKEYREJECTED = 129,
           10  +	k_platform_error_EKEYREVOKED = 128,
           11  +	k_platform_error_EKEYEXPIRED = 127,
           12  +	k_platform_error_ENOKEY = 126,
           13  +	k_platform_error_ECANCELED = 125,
           14  +	k_platform_error_EMEDIUMTYPE = 124,
           15  +	k_platform_error_ENOMEDIUM = 123,
           16  +	k_platform_error_EDQUOT = 122,
           17  +	k_platform_error_EREMOTEIO = 121,
           18  +	k_platform_error_EISNAM = 120,
           19  +	k_platform_error_ENAVAIL = 119,
           20  +	k_platform_error_ENOTNAM = 118,
           21  +	k_platform_error_EUCLEAN = 117,
           22  +	k_platform_error_ESTALE = 116,
           23  +	k_platform_error_EINPROGRESS = 115,
           24  +	k_platform_error_EALREADY = 114,
           25  +	k_platform_error_EHOSTUNREACH = 113,
           26  +	k_platform_error_EHOSTDOWN = 112,
           27  +	k_platform_error_ECONNREFUSED = 111,
           28  +	k_platform_error_ETIMEDOUT = 110,
           29  +	k_platform_error_ETOOMANYREFS = 109,
           30  +	k_platform_error_ESHUTDOWN = 108,
           31  +	k_platform_error_ENOTCONN = 107,
           32  +	k_platform_error_EISCONN = 106,
           33  +	k_platform_error_ENOBUFS = 105,
           34  +	k_platform_error_ECONNRESET = 104,
           35  +	k_platform_error_ECONNABORTED = 103,
           36  +	k_platform_error_ENETRESET = 102,
           37  +	k_platform_error_ENETUNREACH = 101,
           38  +	k_platform_error_ENETDOWN = 100,
           39  +	k_platform_error_EADDRNOTAVAIL = 99,
           40  +	k_platform_error_EADDRINUSE = 98,
           41  +	k_platform_error_EAFNOSUPPORT = 97,
           42  +	k_platform_error_EPFNOSUPPORT = 96,
           43  +	k_platform_error_EOPNOTSUPP = 95,
           44  +	k_platform_error_ESOCKTNOSUPPORT = 94,
           45  +	k_platform_error_EPROTONOSUPPORT = 93,
           46  +	k_platform_error_ENOPROTOOPT = 92,
           47  +	k_platform_error_EPROTOTYPE = 91,
           48  +	k_platform_error_EMSGSIZE = 90,
           49  +	k_platform_error_EDESTADDRREQ = 89,
           50  +	k_platform_error_ENOTSOCK = 88,
           51  +	k_platform_error_EUSERS = 87,
           52  +	k_platform_error_ESTRPIPE = 86,
           53  +	k_platform_error_ERESTART = 85,
           54  +	k_platform_error_EILSEQ = 84,
           55  +	k_platform_error_ELIBEXEC = 83,
           56  +	k_platform_error_ELIBMAX = 82,
           57  +	k_platform_error_ELIBSCN = 81,
           58  +	k_platform_error_ELIBBAD = 80,
           59  +	k_platform_error_ELIBACC = 79,
           60  +	k_platform_error_EREMCHG = 78,
           61  +	k_platform_error_EBADFD = 77,
           62  +	k_platform_error_ENOTUNIQ = 76,
           63  +	k_platform_error_EOVERFLOW = 75,
           64  +	k_platform_error_EBADMSG = 74,
           65  +	k_platform_error_EDOTDOT = 73,
           66  +	k_platform_error_EMULTIHOP = 72,
           67  +	k_platform_error_EPROTO = 71,
           68  +	k_platform_error_ECOMM = 70,
           69  +	k_platform_error_ESRMNT = 69,
           70  +	k_platform_error_EADV = 68,
    72     71   	k_platform_error_ENOLINK = 67,
    73         -	k_platform_error_EADV = 68,
    74         -	k_platform_error_ESRMNT = 69,
    75         -	k_platform_error_ECOMM = 70,
    76         -	k_platform_error_EPROTO = 71,
    77         -	k_platform_error_EMULTIHOP = 72,
    78         -	k_platform_error_EDOTDOT = 73,
    79         -	k_platform_error_EBADMSG = 74,
    80         -	k_platform_error_EOVERFLOW = 75,
    81         -	k_platform_error_ENOTUNIQ = 76,
    82         -	k_platform_error_EBADFD = 77,
    83         -	k_platform_error_EREMCHG = 78,
    84         -	k_platform_error_ELIBACC = 79,
    85         -	k_platform_error_ELIBBAD = 80,
    86         -	k_platform_error_ELIBSCN = 81,
    87         -	k_platform_error_ELIBMAX = 82,
    88         -	k_platform_error_ELIBEXEC = 83,
    89         -	k_platform_error_EILSEQ = 84,
    90         -	k_platform_error_ERESTART = 85,
    91         -	k_platform_error_ESTRPIPE = 86,
    92         -	k_platform_error_EUSERS = 87,
    93         -	k_platform_error_ENOTSOCK = 88,
    94         -	k_platform_error_EDESTADDRREQ = 89,
    95         -	k_platform_error_EMSGSIZE = 90,
    96         -	k_platform_error_EPROTOTYPE = 91,
    97         -	k_platform_error_ENOPROTOOPT = 92,
    98         -	k_platform_error_EPROTONOSUPPORT = 93,
    99         -	k_platform_error_ESOCKTNOSUPPORT = 94,
   100         -	k_platform_error_EOPNOTSUPP = 95,
   101         -	k_platform_error_EPFNOSUPPORT = 96,
   102         -	k_platform_error_EAFNOSUPPORT = 97,
   103         -	k_platform_error_EADDRINUSE = 98,
   104         -	k_platform_error_EADDRNOTAVAIL = 99,
   105         -	k_platform_error_ENETDOWN = 100,
   106         -	k_platform_error_ENETUNREACH = 101,
   107         -	k_platform_error_ENETRESET = 102,
   108         -	k_platform_error_ECONNABORTED = 103,
   109         -	k_platform_error_ECONNRESET = 104,
   110         -	k_platform_error_ENOBUFS = 105,
   111         -	k_platform_error_EISCONN = 106,
   112         -	k_platform_error_ENOTCONN = 107,
   113         -	k_platform_error_ESHUTDOWN = 108,
   114         -	k_platform_error_ETOOMANYREFS = 109,
   115         -	k_platform_error_ETIMEDOUT = 110,
   116         -	k_platform_error_ECONNREFUSED = 111,
   117         -	k_platform_error_EHOSTDOWN = 112,
   118         -	k_platform_error_EHOSTUNREACH = 113,
   119         -	k_platform_error_EALREADY = 114,
   120         -	k_platform_error_EINPROGRESS = 115,
   121         -	k_platform_error_ESTALE = 116,
   122         -	k_platform_error_EUCLEAN = 117,
   123         -	k_platform_error_ENOTNAM = 118,
   124         -	k_platform_error_ENAVAIL = 119,
   125         -	k_platform_error_EISNAM = 120,
   126         -	k_platform_error_EREMOTEIO = 121,
   127         -	k_platform_error_EDQUOT = 122,
   128         -	k_platform_error_ENOMEDIUM = 123,
   129         -	k_platform_error_EMEDIUMTYPE = 124,
   130         -	k_platform_error_ECANCELED = 125,
   131         -	k_platform_error_ENOKEY = 126,
   132         -	k_platform_error_EKEYEXPIRED = 127,
   133         -	k_platform_error_EKEYREVOKED = 128,
   134         -	k_platform_error_EKEYREJECTED = 129,
   135         -	k_platform_error_EOWNERDEAD = 130,
   136         -	k_platform_error_ENOTRECOVERABLE = 131,
   137         -	k_platform_error_ERFKILL = 132,
   138         -	k_platform_error_EHWPOISON = 133,
   139         -
           72  +	k_platform_error_EREMOTE = 66,
           73  +	k_platform_error_ENOPKG = 65,
           74  +	k_platform_error_ENONET = 64,
           75  +	k_platform_error_ENOSR = 63,
           76  +	k_platform_error_ETIME = 62,
           77  +	k_platform_error_ENODATA = 61,
           78  +	k_platform_error_ENOSTR = 60,
           79  +	k_platform_error_EBFONT = 59,
           80  +	k_platform_error_EBADSLT = 57,
           81  +	k_platform_error_EBADRQC = 56,
           82  +	k_platform_error_ENOANO = 55,
           83  +	k_platform_error_EXFULL = 54,
           84  +	k_platform_error_EBADR = 53,
           85  +	k_platform_error_EBADE = 52,
           86  +	k_platform_error_EL2HLT = 51,
           87  +	k_platform_error_ENOCSI = 50,
           88  +	k_platform_error_EUNATCH = 49,
           89  +	k_platform_error_ELNRNG = 48,
           90  +	k_platform_error_EL3RST = 47,
           91  +	k_platform_error_EL3HLT = 46,
           92  +	k_platform_error_EL2NSYNC = 45,
           93  +	k_platform_error_ECHRNG = 44,
           94  +	k_platform_error_EIDRM = 43,
           95  +	k_platform_error_ENOMSG = 42,
           96  +	k_platform_error_ELOOP = 40,
           97  +	k_platform_error_ENOTEMPTY = 39,
           98  +	k_platform_error_ENOSYS = 38,
           99  +	k_platform_error_ENOLCK = 37,
          100  +	k_platform_error_ENAMETOOLONG = 36,
          101  +	k_platform_error_EDEADLK = 35,
          102  +	k_platform_error_ERANGE = 34,
          103  +	k_platform_error_EDOM = 33,
          104  +	k_platform_error_EPIPE = 32,
          105  +	k_platform_error_EMLINK = 31,
          106  +	k_platform_error_EROFS = 30,
          107  +	k_platform_error_ESPIPE = 29,
          108  +	k_platform_error_ENOSPC = 28,
          109  +	k_platform_error_EFBIG = 27,
          110  +	k_platform_error_ETXTBSY = 26,
          111  +	k_platform_error_ENOTTY = 25,
          112  +	k_platform_error_EMFILE = 24,
          113  +	k_platform_error_ENFILE = 23,
          114  +	k_platform_error_EINVAL = 22,
          115  +	k_platform_error_EISDIR = 21,
          116  +	k_platform_error_ENOTDIR = 20,
          117  +	k_platform_error_ENODEV = 19,
          118  +	k_platform_error_EXDEV = 18,
          119  +	k_platform_error_EEXIST = 17,
          120  +	k_platform_error_EBUSY = 16,
          121  +	k_platform_error_ENOTBLK = 15,
          122  +	k_platform_error_EFAULT = 14,
          123  +	k_platform_error_EACCES = 13,
          124  +	k_platform_error_ENOMEM = 12,
          125  +	k_platform_error_EAGAIN = 11,
          126  +	k_platform_error_ECHILD = 10,
          127  +	k_platform_error_EBADF = 9,
          128  +	k_platform_error_ENOEXEC = 8,
          129  +	k_platform_error_E2BIG = 7,
          130  +	k_platform_error_ENXIO = 6,
          131  +	k_platform_error_EIO = 5,
          132  +	k_platform_error_EINTR = 4,
          133  +	k_platform_error_ESRCH = 3,
          134  +	k_platform_error_ENOENT = 2,
          135  +	k_platform_error_EPERM = 1,
          136  +	k_platform_error_EWOULDBLOCK = 11,
          137  +	k_platform_error_EDEADLOCK = 35,
   140    138   };
   141    139   
   142    140   #endif
   143         -