package unix-errno

  1. Overview
  2. Docs

Source file errno_map_osx_10_11_4.ml

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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
(* Generated by errno-srcgen *)

let defns = Errno.({
  e2big = Some (Signed.SInt.of_int64 7L);
  eacces = Some (Signed.SInt.of_int64 13L);
  eaddrinuse = Some (Signed.SInt.of_int64 48L);
  eaddrnotavail = Some (Signed.SInt.of_int64 49L);
  eafnosupport = Some (Signed.SInt.of_int64 47L);
  eagain = Some (Signed.SInt.of_int64 35L);
  ealready = Some (Signed.SInt.of_int64 37L);
  ebadf = Some (Signed.SInt.of_int64 9L);
  ebadmsg = Some (Signed.SInt.of_int64 94L);
  ebusy = Some (Signed.SInt.of_int64 16L);
  ecanceled = Some (Signed.SInt.of_int64 89L);
  echild = Some (Signed.SInt.of_int64 10L);
  econnaborted = Some (Signed.SInt.of_int64 53L);
  econnrefused = Some (Signed.SInt.of_int64 61L);
  econnreset = Some (Signed.SInt.of_int64 54L);
  edeadlk = Some (Signed.SInt.of_int64 11L);
  edestaddrreq = Some (Signed.SInt.of_int64 39L);
  edom = Some (Signed.SInt.of_int64 33L);
  edquot = Some (Signed.SInt.of_int64 69L);
  eexist = Some (Signed.SInt.of_int64 17L);
  efault = Some (Signed.SInt.of_int64 14L);
  efbig = Some (Signed.SInt.of_int64 27L);
  ehostdown = Some (Signed.SInt.of_int64 64L);
  ehostunreach = Some (Signed.SInt.of_int64 65L);
  eidrm = Some (Signed.SInt.of_int64 90L);
  eilseq = Some (Signed.SInt.of_int64 92L);
  einprogress = Some (Signed.SInt.of_int64 36L);
  eintr = Some (Signed.SInt.of_int64 4L);
  einval = Some (Signed.SInt.of_int64 22L);
  eio = Some (Signed.SInt.of_int64 5L);
  eisconn = Some (Signed.SInt.of_int64 56L);
  eisdir = Some (Signed.SInt.of_int64 21L);
  eloop = Some (Signed.SInt.of_int64 62L);
  emfile = Some (Signed.SInt.of_int64 24L);
  emlink = Some (Signed.SInt.of_int64 31L);
  emsgsize = Some (Signed.SInt.of_int64 40L);
  emultihop = Some (Signed.SInt.of_int64 95L);
  enametoolong = Some (Signed.SInt.of_int64 63L);
  enetdown = Some (Signed.SInt.of_int64 50L);
  enetreset = Some (Signed.SInt.of_int64 52L);
  enetunreach = Some (Signed.SInt.of_int64 51L);
  enfile = Some (Signed.SInt.of_int64 23L);
  enobufs = Some (Signed.SInt.of_int64 55L);
  enodev = Some (Signed.SInt.of_int64 19L);
  enoent = Some (Signed.SInt.of_int64 2L);
  enoexec = Some (Signed.SInt.of_int64 8L);
  enolck = Some (Signed.SInt.of_int64 77L);
  enolink = Some (Signed.SInt.of_int64 97L);
  enomem = Some (Signed.SInt.of_int64 12L);
  enomsg = Some (Signed.SInt.of_int64 91L);
  enoprotoopt = Some (Signed.SInt.of_int64 42L);
  enospc = Some (Signed.SInt.of_int64 28L);
  enosys = Some (Signed.SInt.of_int64 78L);
  enotblk = Some (Signed.SInt.of_int64 15L);
  enotconn = Some (Signed.SInt.of_int64 57L);
  enotdir = Some (Signed.SInt.of_int64 20L);
  enotempty = Some (Signed.SInt.of_int64 66L);
  enotrecoverable = Some (Signed.SInt.of_int64 104L);
  enotsock = Some (Signed.SInt.of_int64 38L);
  enotsup = Some (Signed.SInt.of_int64 45L);
  enotty = Some (Signed.SInt.of_int64 25L);
  enxio = Some (Signed.SInt.of_int64 6L);
  eopnotsupp = Some (Signed.SInt.of_int64 102L);
  eoverflow = Some (Signed.SInt.of_int64 84L);
  eownerdead = Some (Signed.SInt.of_int64 105L);
  eperm = Some (Signed.SInt.of_int64 1L);
  epfnosupport = Some (Signed.SInt.of_int64 46L);
  epipe = Some (Signed.SInt.of_int64 32L);
  eproto = Some (Signed.SInt.of_int64 100L);
  eprotonosupport = Some (Signed.SInt.of_int64 43L);
  eprototype = Some (Signed.SInt.of_int64 41L);
  erange = Some (Signed.SInt.of_int64 34L);
  eremote = Some (Signed.SInt.of_int64 71L);
  erofs = Some (Signed.SInt.of_int64 30L);
  eshutdown = Some (Signed.SInt.of_int64 58L);
  esocktnosupport = Some (Signed.SInt.of_int64 44L);
  espipe = Some (Signed.SInt.of_int64 29L);
  esrch = Some (Signed.SInt.of_int64 3L);
  estale = Some (Signed.SInt.of_int64 70L);
  etimedout = Some (Signed.SInt.of_int64 60L);
  etoomanyrefs = Some (Signed.SInt.of_int64 59L);
  etxtbsy = Some (Signed.SInt.of_int64 26L);
  eusers = Some (Signed.SInt.of_int64 68L);
  ewouldblock = Some (Signed.SInt.of_int64 35L);
  exdev = Some (Signed.SInt.of_int64 18L);
  echrng = None;
  el2nsync = None;
  el3hlt = None;
  el3rst = None;
  elnrng = None;
  eunatch = None;
  enocsi = None;
  el2hlt = None;
  ebade = None;
  ebadr = None;
  exfull = None;
  enoano = None;
  ebadrqc = None;
  ebadslt = None;
  ebfont = None;
  enonet = None;
  enopkg = None;
  eadv = None;
  esrmnt = None;
  ecomm = None;
  edotdot = None;
  enotuniq = None;
  ebadfd = None;
  eremchg = None;
  elibacc = None;
  elibbad = None;
  elibscn = None;
  elibmax = None;
  elibexec = None;
  erestart = None;
  estrpipe = None;
  euclean = None;
  enotnam = None;
  enavail = None;
  eisnam = None;
  eremoteio = None;
  enomedium = None;
  emediumtype = None;
  enokey = None;
  ekeyexpired = None;
  ekeyrevoked = None;
  ekeyrejected = None;
  erfkill = None;
  ehwpoison = None;
  epwroff = Some (Signed.SInt.of_int64 82L);
  edeverr = Some (Signed.SInt.of_int64 83L);
  ebadexec = Some (Signed.SInt.of_int64 85L);
  ebadarch = Some (Signed.SInt.of_int64 86L);
  eshlibvers = Some (Signed.SInt.of_int64 87L);
  ebadmacho = Some (Signed.SInt.of_int64 88L);
  enopolicy = Some (Signed.SInt.of_int64 103L);
  eqfull = Some (Signed.SInt.of_int64 106L);
  edoofus = None;
  enotcapable = None;
  ecapmode = None;
  eproclim = Some (Signed.SInt.of_int64 67L);
  ebadrpc = Some (Signed.SInt.of_int64 72L);
  erpcmismatch = Some (Signed.SInt.of_int64 73L);
  eprogunavail = Some (Signed.SInt.of_int64 74L);
  eprogmismatch = Some (Signed.SInt.of_int64 75L);
  eprocunavail = Some (Signed.SInt.of_int64 76L);
  eftype = Some (Signed.SInt.of_int64 79L);
  eauth = Some (Signed.SInt.of_int64 80L);
  eneedauth = Some (Signed.SInt.of_int64 81L);
  enoattr = Some (Signed.SInt.of_int64 93L);
  enostr = Some (Signed.SInt.of_int64 99L);
  enodata = Some (Signed.SInt.of_int64 96L);
  etime = Some (Signed.SInt.of_int64 101L);
  enosr = Some (Signed.SInt.of_int64 98L);
})

let host = Errno.Host.of_defns defns
OCaml

Innovation. Community. Security.