Home | History | Annotate | Download | only in include
      1 /*
      2  * Copyright 2012, The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *     http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15 */
     16 
     17 #ifndef _ERRNO_PORTABLE_H_
     18 #define _ERRNO_PORTABLE_H_
     19 
     20 /* Derived from development/ndk/platforms/android-3/include/asm-generic/errno.h */
     21 #define EDEADLK_PORTABLE 35
     22 #define ENAMETOOLONG_PORTABLE 36
     23 #define ENOLCK_PORTABLE 37
     24 #define ENOSYS_PORTABLE 38
     25 #define ENOTEMPTY_PORTABLE 39
     26 #define ELOOP_PORTABLE 40
     27 #define EWOULDBLOCK_PORTABLE 11 /* EAGAIN */
     28 #define ENOMSG_PORTABLE 42
     29 #define EIDRM_PORTABLE 43
     30 #define ECHRNG_PORTABLE 44
     31 #define EL2NSYNC_PORTABLE 45
     32 #define EL3HLT_PORTABLE 46
     33 #define EL3RST_PORTABLE 47
     34 #define ELNRNG_PORTABLE 48
     35 #define EUNATCH_PORTABLE 49
     36 #define ENOCSI_PORTABLE 50
     37 #define EL2HLT_PORTABLE 51
     38 #define EBADE_PORTABLE 52
     39 #define EBADR_PORTABLE 53
     40 #define EXFULL_PORTABLE 54
     41 #define ENOANO_PORTABLE 55
     42 #define EBADRQC_PORTABLE 56
     43 #define EBADSLT_PORTABLE 57
     44 
     45 #define EDEADLOCK_PORTABLE EDEADLK_PORTABLE
     46 
     47 #define EBFONT_PORTABLE 59
     48 #define ENOSTR_PORTABLE 60
     49 #define ENODATA_PORTABLE 61
     50 #define ETIME_PORTABLE 62
     51 #define ENOSR_PORTABLE 63
     52 #define ENONET_PORTABLE 64
     53 #define ENOPKG_PORTABLE 65
     54 #define EREMOTE_PORTABLE 66
     55 #define ENOLINK_PORTABLE 67
     56 #define EADV_PORTABLE 68
     57 #define ESRMNT_PORTABLE 69
     58 #define ECOMM_PORTABLE 70
     59 #define EPROTO_PORTABLE 71
     60 #define EMULTIHOP_PORTABLE 72
     61 #define EDOTDOT_PORTABLE 73
     62 #define EBADMSG_PORTABLE 74
     63 #define EOVERFLOW_PORTABLE 75
     64 #define ENOTUNIQ_PORTABLE 76
     65 #define EBADFD_PORTABLE 77
     66 #define EREMCHG_PORTABLE 78
     67 #define ELIBACC_PORTABLE 79
     68 #define ELIBBAD_PORTABLE 80
     69 #define ELIBSCN_PORTABLE 81
     70 #define ELIBMAX_PORTABLE 82
     71 #define ELIBEXEC_PORTABLE 83
     72 #define EILSEQ_PORTABLE 84
     73 #define ERESTART_PORTABLE 85
     74 #define ESTRPIPE_PORTABLE 86
     75 #define EUSERS_PORTABLE 87
     76 #define ENOTSOCK_PORTABLE 88
     77 #define EDESTADDRREQ_PORTABLE 89
     78 #define EMSGSIZE_PORTABLE 90
     79 #define EPROTOTYPE_PORTABLE 91
     80 #define ENOPROTOOPT_PORTABLE 92
     81 #define EPROTONOSUPPORT_PORTABLE 93
     82 #define ESOCKTNOSUPPORT_PORTABLE 94
     83 #define EOPNOTSUPP_PORTABLE 95
     84 #define EPFNOSUPPORT_PORTABLE 96
     85 #define EAFNOSUPPORT_PORTABLE 97
     86 #define EADDRINUSE_PORTABLE 98
     87 #define EADDRNOTAVAIL_PORTABLE 99
     88 #define ENETDOWN_PORTABLE 100
     89 #define ENETUNREACH_PORTABLE 101
     90 #define ENETRESET_PORTABLE 102
     91 #define ECONNABORTED_PORTABLE 103
     92 #define ECONNRESET_PORTABLE 104
     93 #define ENOBUFS_PORTABLE 105
     94 #define EISCONN_PORTABLE 106
     95 #define ENOTCONN_PORTABLE 107
     96 #define ESHUTDOWN_PORTABLE 108
     97 #define ETOOMANYREFS_PORTABLE 109
     98 #define ETIMEDOUT_PORTABLE 110
     99 #define ECONNREFUSED_PORTABLE 111
    100 #define EHOSTDOWN_PORTABLE 112
    101 #define EHOSTUNREACH_PORTABLE 113
    102 #define EALREADY_PORTABLE 114
    103 #define EINPROGRESS_PORTABLE 115
    104 #define ESTALE_PORTABLE 116
    105 #define EUCLEAN_PORTABLE 117
    106 #define ENOTNAM_PORTABLE 118
    107 #define ENAVAIL_PORTABLE 119
    108 #define EISNAM_PORTABLE 120
    109 #define EREMOTEIO_PORTABLE 121
    110 #define EDQUOT_PORTABLE 122
    111 
    112 #define ENOMEDIUM_PORTABLE 123
    113 #define EMEDIUMTYPE_PORTABLE 124
    114 #define ECANCELED_PORTABLE 125
    115 #define ENOKEY_PORTABLE 126
    116 #define EKEYEXPIRED_PORTABLE 127
    117 #define EKEYREVOKED_PORTABLE 128
    118 #define EKEYREJECTED_PORTABLE 129
    119 
    120 #define EOWNERDEAD_PORTABLE 130
    121 #define ENOTRECOVERABLE_PORTABLE 131
    122 
    123 #endif /* _ERRNO_PORTABLE_H */
    124