1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
use crate::int;

// ISO/IEC 9899
// 7.5 Errors

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