debase-ruby_core_source 3.3.5 → 3.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/.idea/vcs.xml +28 -0
  4. data/CHANGELOG.md +8 -0
  5. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/addr2line.h +22 -0
  6. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/builtin.h +119 -0
  7. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ccan/build_assert/build_assert.h +40 -0
  8. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ccan/check_type/check_type.h +63 -0
  9. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ccan/container_of/container_of.h +142 -0
  10. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ccan/list/list.h +791 -0
  11. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ccan/str/str.h +17 -0
  12. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/constant.h +53 -0
  13. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/darray.h +209 -0
  14. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/debug_counter.h +423 -0
  15. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/dln.h +32 -0
  16. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/encindex.h +70 -0
  17. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/eval_intern.h +324 -0
  18. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/hrtime.h +237 -0
  19. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/id.h +347 -0
  20. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/id_table.h +39 -0
  21. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/insns.inc +265 -0
  22. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/insns_info.inc +9902 -0
  23. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/array.h +152 -0
  24. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/basic_operators.h +64 -0
  25. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/bignum.h +244 -0
  26. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/bits.h +568 -0
  27. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/class.h +283 -0
  28. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/cmdlineopt.h +65 -0
  29. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/compar.h +29 -0
  30. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/compile.h +34 -0
  31. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/compilers.h +107 -0
  32. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/complex.h +29 -0
  33. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/cont.h +35 -0
  34. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/dir.h +16 -0
  35. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/enc.h +19 -0
  36. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/encoding.h +36 -0
  37. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/enum.h +18 -0
  38. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/enumerator.h +21 -0
  39. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/error.h +218 -0
  40. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/eval.h +33 -0
  41. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/file.h +38 -0
  42. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/fixnum.h +184 -0
  43. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/gc.h +322 -0
  44. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/hash.h +192 -0
  45. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/imemo.h +261 -0
  46. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/inits.h +47 -0
  47. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/io.h +143 -0
  48. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/load.h +18 -0
  49. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/loadpath.h +16 -0
  50. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/math.h +23 -0
  51. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/missing.h +19 -0
  52. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/numeric.h +274 -0
  53. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/object.h +63 -0
  54. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/parse.h +129 -0
  55. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/proc.h +30 -0
  56. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/process.h +124 -0
  57. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/ractor.h +6 -0
  58. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/random.h +17 -0
  59. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/range.h +40 -0
  60. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/rational.h +71 -0
  61. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/re.h +28 -0
  62. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/ruby_parser.h +102 -0
  63. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/sanitizers.h +326 -0
  64. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/serial.h +23 -0
  65. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/signal.h +24 -0
  66. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/st.h +11 -0
  67. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/static_assert.h +16 -0
  68. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/string.h +186 -0
  69. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/struct.h +127 -0
  70. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/symbol.h +45 -0
  71. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/thread.h +85 -0
  72. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/time.h +34 -0
  73. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/transcode.h +23 -0
  74. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/util.h +27 -0
  75. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/variable.h +72 -0
  76. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/vm.h +137 -0
  77. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/warnings.h +16 -0
  78. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal.h +108 -0
  79. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/iseq.h +340 -0
  80. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/known_errors.inc +1419 -0
  81. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/method.h +255 -0
  82. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/node.h +111 -0
  83. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/node_name.inc +224 -0
  84. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/optinsn.inc +128 -0
  85. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/optunifs.inc +43 -0
  86. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/parse.h +244 -0
  87. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/parser_bits.h +564 -0
  88. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/parser_node.h +32 -0
  89. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/parser_st.h +162 -0
  90. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/parser_value.h +106 -0
  91. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/ast.h +7524 -0
  92. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/defines.h +242 -0
  93. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/diagnostic.h +450 -0
  94. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/encoding.h +283 -0
  95. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/extension.h +19 -0
  96. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/node.h +129 -0
  97. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/options.h +396 -0
  98. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/pack.h +163 -0
  99. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/parser.h +933 -0
  100. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/prettyprint.h +34 -0
  101. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/prism.h +336 -0
  102. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/regexp.h +43 -0
  103. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/static_literals.h +121 -0
  104. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_buffer.h +218 -0
  105. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_char.h +204 -0
  106. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_constant_pool.h +218 -0
  107. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_integer.h +126 -0
  108. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_list.h +97 -0
  109. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_memchr.h +29 -0
  110. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_newline_list.h +113 -0
  111. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_string.h +190 -0
  112. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_strncasecmp.h +32 -0
  113. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_strpbrk.h +46 -0
  114. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/version.h +29 -0
  115. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism_compile.h +99 -0
  116. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/probes_helper.h +42 -0
  117. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ractor_core.h +382 -0
  118. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/regenc.h +254 -0
  119. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/regint.h +1006 -0
  120. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/regparse.h +371 -0
  121. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/revision.h +5 -0
  122. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/rjit.h +101 -0
  123. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/rjit_c.h +165 -0
  124. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ruby_assert.h +14 -0
  125. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ruby_atomic.h +23 -0
  126. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/rubyparser.h +1350 -0
  127. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/shape.h +234 -0
  128. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/siphash.h +48 -0
  129. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/symbol.h +123 -0
  130. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/thread_none.h +21 -0
  131. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/thread_pthread.h +168 -0
  132. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/thread_win32.h +58 -0
  133. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/timev.h +58 -0
  134. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/transcode_data.h +138 -0
  135. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/variable.h +39 -0
  136. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/version.h +69 -0
  137. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vm.inc +5840 -0
  138. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vm_call_iseq_optimized.inc +244 -0
  139. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vm_callinfo.h +627 -0
  140. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vm_core.h +2222 -0
  141. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vm_debug.h +124 -0
  142. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vm_exec.h +199 -0
  143. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vm_insnhelper.h +277 -0
  144. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vm_opts.h +67 -0
  145. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vm_sync.h +137 -0
  146. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vmtc.inc +259 -0
  147. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/yjit.h +79 -0
  148. data/lib/debase/ruby_core_source/version.rb +1 -1
  149. metadata +150 -6
@@ -0,0 +1,1419 @@
1
+ /** -*-c-*-
2
+ * DO NOT EDIT
3
+ * This file is automatically generated by tool/generic_erb.rb from
4
+ * template/known_errors.inc.tmpl and defs/known_errors.def.
5
+ */
6
+
7
+ #if 0
8
+ /* "Argument list too long" error */
9
+ rb_define_const(rb_mErrno, "E2BIG", eE2BIG);
10
+ #endif
11
+ #ifdef E2BIG
12
+ defined_error("E2BIG", E2BIG)
13
+ #else
14
+ undefined_error("E2BIG")
15
+ #endif
16
+ #if 0
17
+ /* "Permission denied" error */
18
+ rb_define_const(rb_mErrno, "EACCES", eEACCES);
19
+ #endif
20
+ #ifdef EACCES
21
+ defined_error("EACCES", EACCES)
22
+ #else
23
+ undefined_error("EACCES")
24
+ #endif
25
+ #if 0
26
+ /* "Address already in use" error */
27
+ rb_define_const(rb_mErrno, "EADDRINUSE", eEADDRINUSE);
28
+ #endif
29
+ #ifdef EADDRINUSE
30
+ defined_error("EADDRINUSE", EADDRINUSE)
31
+ #else
32
+ undefined_error("EADDRINUSE")
33
+ #endif
34
+ #if 0
35
+ /* "Address not available" error */
36
+ rb_define_const(rb_mErrno, "EADDRNOTAVAIL", eEADDRNOTAVAIL);
37
+ #endif
38
+ #ifdef EADDRNOTAVAIL
39
+ defined_error("EADDRNOTAVAIL", EADDRNOTAVAIL)
40
+ #else
41
+ undefined_error("EADDRNOTAVAIL")
42
+ #endif
43
+ #if 0
44
+ /* "Advertise error" error */
45
+ rb_define_const(rb_mErrno, "EADV", eEADV);
46
+ #endif
47
+ #ifdef EADV
48
+ defined_error("EADV", EADV)
49
+ #else
50
+ undefined_error("EADV")
51
+ #endif
52
+ #if 0
53
+ /* "Address family not supported" error */
54
+ rb_define_const(rb_mErrno, "EAFNOSUPPORT", eEAFNOSUPPORT);
55
+ #endif
56
+ #ifdef EAFNOSUPPORT
57
+ defined_error("EAFNOSUPPORT", EAFNOSUPPORT)
58
+ #else
59
+ undefined_error("EAFNOSUPPORT")
60
+ #endif
61
+ #if 0
62
+ /* "Resource temporarily unavailable, try again (may be the same value as EWOULDBLOCK)" error */
63
+ rb_define_const(rb_mErrno, "EAGAIN", eEAGAIN);
64
+ #endif
65
+ #ifdef EAGAIN
66
+ defined_error("EAGAIN", EAGAIN)
67
+ #else
68
+ undefined_error("EAGAIN")
69
+ #endif
70
+ #if 0
71
+ /* "Connection already in progress" error */
72
+ rb_define_const(rb_mErrno, "EALREADY", eEALREADY);
73
+ #endif
74
+ #ifdef EALREADY
75
+ defined_error("EALREADY", EALREADY)
76
+ #else
77
+ undefined_error("EALREADY")
78
+ #endif
79
+ #if 0
80
+ /* "Authentication error" error */
81
+ rb_define_const(rb_mErrno, "EAUTH", eEAUTH);
82
+ #endif
83
+ #ifdef EAUTH
84
+ defined_error("EAUTH", EAUTH)
85
+ #else
86
+ undefined_error("EAUTH")
87
+ #endif
88
+ #if 0
89
+ /* "Bad CPU type in executable" error */
90
+ rb_define_const(rb_mErrno, "EBADARCH", eEBADARCH);
91
+ #endif
92
+ #ifdef EBADARCH
93
+ defined_error("EBADARCH", EBADARCH)
94
+ #else
95
+ undefined_error("EBADARCH")
96
+ #endif
97
+ #if 0
98
+ /* "Bad exchange" error */
99
+ rb_define_const(rb_mErrno, "EBADE", eEBADE);
100
+ #endif
101
+ #ifdef EBADE
102
+ defined_error("EBADE", EBADE)
103
+ #else
104
+ undefined_error("EBADE")
105
+ #endif
106
+ #if 0
107
+ /* "Bad executable" error */
108
+ rb_define_const(rb_mErrno, "EBADEXEC", eEBADEXEC);
109
+ #endif
110
+ #ifdef EBADEXEC
111
+ defined_error("EBADEXEC", EBADEXEC)
112
+ #else
113
+ undefined_error("EBADEXEC")
114
+ #endif
115
+ #if 0
116
+ /* "Bad file descriptor" error */
117
+ rb_define_const(rb_mErrno, "EBADF", eEBADF);
118
+ #endif
119
+ #ifdef EBADF
120
+ defined_error("EBADF", EBADF)
121
+ #else
122
+ undefined_error("EBADF")
123
+ #endif
124
+ #if 0
125
+ /* "File descriptor in bad state" error */
126
+ rb_define_const(rb_mErrno, "EBADFD", eEBADFD);
127
+ #endif
128
+ #ifdef EBADFD
129
+ defined_error("EBADFD", EBADFD)
130
+ #else
131
+ undefined_error("EBADFD")
132
+ #endif
133
+ #if 0
134
+ /* "Malformed Macho file" error */
135
+ rb_define_const(rb_mErrno, "EBADMACHO", eEBADMACHO);
136
+ #endif
137
+ #ifdef EBADMACHO
138
+ defined_error("EBADMACHO", EBADMACHO)
139
+ #else
140
+ undefined_error("EBADMACHO")
141
+ #endif
142
+ #if 0
143
+ /* "Bad message" error */
144
+ rb_define_const(rb_mErrno, "EBADMSG", eEBADMSG);
145
+ #endif
146
+ #ifdef EBADMSG
147
+ defined_error("EBADMSG", EBADMSG)
148
+ #else
149
+ undefined_error("EBADMSG")
150
+ #endif
151
+ #if 0
152
+ /* "Invalid request descriptor" error */
153
+ rb_define_const(rb_mErrno, "EBADR", eEBADR);
154
+ #endif
155
+ #ifdef EBADR
156
+ defined_error("EBADR", EBADR)
157
+ #else
158
+ undefined_error("EBADR")
159
+ #endif
160
+ #if 0
161
+ /* "RPC struct is bad" error */
162
+ rb_define_const(rb_mErrno, "EBADRPC", eEBADRPC);
163
+ #endif
164
+ #ifdef EBADRPC
165
+ defined_error("EBADRPC", EBADRPC)
166
+ #else
167
+ undefined_error("EBADRPC")
168
+ #endif
169
+ #if 0
170
+ /* "Invalid request code" error */
171
+ rb_define_const(rb_mErrno, "EBADRQC", eEBADRQC);
172
+ #endif
173
+ #ifdef EBADRQC
174
+ defined_error("EBADRQC", EBADRQC)
175
+ #else
176
+ undefined_error("EBADRQC")
177
+ #endif
178
+ #if 0
179
+ /* "Invalid slot" error */
180
+ rb_define_const(rb_mErrno, "EBADSLT", eEBADSLT);
181
+ #endif
182
+ #ifdef EBADSLT
183
+ defined_error("EBADSLT", EBADSLT)
184
+ #else
185
+ undefined_error("EBADSLT")
186
+ #endif
187
+ #if 0
188
+ /* "Bad font file format" error */
189
+ rb_define_const(rb_mErrno, "EBFONT", eEBFONT);
190
+ #endif
191
+ #ifdef EBFONT
192
+ defined_error("EBFONT", EBFONT)
193
+ #else
194
+ undefined_error("EBFONT")
195
+ #endif
196
+ #if 0
197
+ /* "Device or resource busy" error */
198
+ rb_define_const(rb_mErrno, "EBUSY", eEBUSY);
199
+ #endif
200
+ #ifdef EBUSY
201
+ defined_error("EBUSY", EBUSY)
202
+ #else
203
+ undefined_error("EBUSY")
204
+ #endif
205
+ #if 0
206
+ /* "Operation canceled" error */
207
+ rb_define_const(rb_mErrno, "ECANCELED", eECANCELED);
208
+ #endif
209
+ #ifdef ECANCELED
210
+ defined_error("ECANCELED", ECANCELED)
211
+ #else
212
+ undefined_error("ECANCELED")
213
+ #endif
214
+ #if 0
215
+ /* "Not permitted in capability mode" error */
216
+ rb_define_const(rb_mErrno, "ECAPMODE", eECAPMODE);
217
+ #endif
218
+ #ifdef ECAPMODE
219
+ defined_error("ECAPMODE", ECAPMODE)
220
+ #else
221
+ undefined_error("ECAPMODE")
222
+ #endif
223
+ #if 0
224
+ /* "No child processes" error */
225
+ rb_define_const(rb_mErrno, "ECHILD", eECHILD);
226
+ #endif
227
+ #ifdef ECHILD
228
+ defined_error("ECHILD", ECHILD)
229
+ #else
230
+ undefined_error("ECHILD")
231
+ #endif
232
+ #if 0
233
+ /* "Channel number out of range" error */
234
+ rb_define_const(rb_mErrno, "ECHRNG", eECHRNG);
235
+ #endif
236
+ #ifdef ECHRNG
237
+ defined_error("ECHRNG", ECHRNG)
238
+ #else
239
+ undefined_error("ECHRNG")
240
+ #endif
241
+ #if 0
242
+ /* "Communication error on send" error */
243
+ rb_define_const(rb_mErrno, "ECOMM", eECOMM);
244
+ #endif
245
+ #ifdef ECOMM
246
+ defined_error("ECOMM", ECOMM)
247
+ #else
248
+ undefined_error("ECOMM")
249
+ #endif
250
+ #if 0
251
+ /* "Connection aborted" error */
252
+ rb_define_const(rb_mErrno, "ECONNABORTED", eECONNABORTED);
253
+ #endif
254
+ #ifdef ECONNABORTED
255
+ defined_error("ECONNABORTED", ECONNABORTED)
256
+ #else
257
+ undefined_error("ECONNABORTED")
258
+ #endif
259
+ #if 0
260
+ /* "Connection refused" error */
261
+ rb_define_const(rb_mErrno, "ECONNREFUSED", eECONNREFUSED);
262
+ #endif
263
+ #ifdef ECONNREFUSED
264
+ defined_error("ECONNREFUSED", ECONNREFUSED)
265
+ #else
266
+ undefined_error("ECONNREFUSED")
267
+ #endif
268
+ #if 0
269
+ /* "Connection reset" error */
270
+ rb_define_const(rb_mErrno, "ECONNRESET", eECONNRESET);
271
+ #endif
272
+ #ifdef ECONNRESET
273
+ defined_error("ECONNRESET", ECONNRESET)
274
+ #else
275
+ undefined_error("ECONNRESET")
276
+ #endif
277
+ #if 0
278
+ /* "Resource deadlock avoided" error */
279
+ rb_define_const(rb_mErrno, "EDEADLK", eEDEADLK);
280
+ #endif
281
+ #ifdef EDEADLK
282
+ defined_error("EDEADLK", EDEADLK)
283
+ #else
284
+ undefined_error("EDEADLK")
285
+ #endif
286
+ #if 0
287
+ /* "File locking deadlock error" error */
288
+ rb_define_const(rb_mErrno, "EDEADLOCK", eEDEADLOCK);
289
+ #endif
290
+ #ifdef EDEADLOCK
291
+ defined_error("EDEADLOCK", EDEADLOCK)
292
+ #else
293
+ undefined_error("EDEADLOCK")
294
+ #endif
295
+ #if 0
296
+ /* "Destination address required" error */
297
+ rb_define_const(rb_mErrno, "EDESTADDRREQ", eEDESTADDRREQ);
298
+ #endif
299
+ #ifdef EDESTADDRREQ
300
+ defined_error("EDESTADDRREQ", EDESTADDRREQ)
301
+ #else
302
+ undefined_error("EDESTADDRREQ")
303
+ #endif
304
+ #if 0
305
+ /* "Device error; e.g., printer paper out" error */
306
+ rb_define_const(rb_mErrno, "EDEVERR", eEDEVERR);
307
+ #endif
308
+ #ifdef EDEVERR
309
+ defined_error("EDEVERR", EDEVERR)
310
+ #else
311
+ undefined_error("EDEVERR")
312
+ #endif
313
+ #if 0
314
+ /* "Mathematics argument out of domain of function" error */
315
+ rb_define_const(rb_mErrno, "EDOM", eEDOM);
316
+ #endif
317
+ #ifdef EDOM
318
+ defined_error("EDOM", EDOM)
319
+ #else
320
+ undefined_error("EDOM")
321
+ #endif
322
+ #if 0
323
+ /* "Improper function use" error */
324
+ rb_define_const(rb_mErrno, "EDOOFUS", eEDOOFUS);
325
+ #endif
326
+ #ifdef EDOOFUS
327
+ defined_error("EDOOFUS", EDOOFUS)
328
+ #else
329
+ undefined_error("EDOOFUS")
330
+ #endif
331
+ #if 0
332
+ /* "RFS specific error" error */
333
+ rb_define_const(rb_mErrno, "EDOTDOT", eEDOTDOT);
334
+ #endif
335
+ #ifdef EDOTDOT
336
+ defined_error("EDOTDOT", EDOTDOT)
337
+ #else
338
+ undefined_error("EDOTDOT")
339
+ #endif
340
+ #if 0
341
+ /* "Disk quota exceeded" error */
342
+ rb_define_const(rb_mErrno, "EDQUOT", eEDQUOT);
343
+ #endif
344
+ #ifdef EDQUOT
345
+ defined_error("EDQUOT", EDQUOT)
346
+ #else
347
+ undefined_error("EDQUOT")
348
+ #endif
349
+ #if 0
350
+ /* "File exists" error */
351
+ rb_define_const(rb_mErrno, "EEXIST", eEEXIST);
352
+ #endif
353
+ #ifdef EEXIST
354
+ defined_error("EEXIST", EEXIST)
355
+ #else
356
+ undefined_error("EEXIST")
357
+ #endif
358
+ #if 0
359
+ /* "Bad address" error */
360
+ rb_define_const(rb_mErrno, "EFAULT", eEFAULT);
361
+ #endif
362
+ #ifdef EFAULT
363
+ defined_error("EFAULT", EFAULT)
364
+ #else
365
+ undefined_error("EFAULT")
366
+ #endif
367
+ #if 0
368
+ /* "File too large" error */
369
+ rb_define_const(rb_mErrno, "EFBIG", eEFBIG);
370
+ #endif
371
+ #ifdef EFBIG
372
+ defined_error("EFBIG", EFBIG)
373
+ #else
374
+ undefined_error("EFBIG")
375
+ #endif
376
+ #if 0
377
+ /* "Invalid file type or format" error */
378
+ rb_define_const(rb_mErrno, "EFTYPE", eEFTYPE);
379
+ #endif
380
+ #ifdef EFTYPE
381
+ defined_error("EFTYPE", EFTYPE)
382
+ #else
383
+ undefined_error("EFTYPE")
384
+ #endif
385
+ #if 0
386
+ /* "Host is down" error */
387
+ rb_define_const(rb_mErrno, "EHOSTDOWN", eEHOSTDOWN);
388
+ #endif
389
+ #ifdef EHOSTDOWN
390
+ defined_error("EHOSTDOWN", EHOSTDOWN)
391
+ #else
392
+ undefined_error("EHOSTDOWN")
393
+ #endif
394
+ #if 0
395
+ /* "Host is unreachable" error */
396
+ rb_define_const(rb_mErrno, "EHOSTUNREACH", eEHOSTUNREACH);
397
+ #endif
398
+ #ifdef EHOSTUNREACH
399
+ defined_error("EHOSTUNREACH", EHOSTUNREACH)
400
+ #else
401
+ undefined_error("EHOSTUNREACH")
402
+ #endif
403
+ #if 0
404
+ /* "Memory page has hardware error" error */
405
+ rb_define_const(rb_mErrno, "EHWPOISON", eEHWPOISON);
406
+ #endif
407
+ #ifdef EHWPOISON
408
+ defined_error("EHWPOISON", EHWPOISON)
409
+ #else
410
+ undefined_error("EHWPOISON")
411
+ #endif
412
+ #if 0
413
+ /* "Identifier removed" error */
414
+ rb_define_const(rb_mErrno, "EIDRM", eEIDRM);
415
+ #endif
416
+ #ifdef EIDRM
417
+ defined_error("EIDRM", EIDRM)
418
+ #else
419
+ undefined_error("EIDRM")
420
+ #endif
421
+ #if 0
422
+ /* "Invalid or incomplete multibyte or wide character" error */
423
+ rb_define_const(rb_mErrno, "EILSEQ", eEILSEQ);
424
+ #endif
425
+ #ifdef EILSEQ
426
+ defined_error("EILSEQ", EILSEQ)
427
+ #else
428
+ undefined_error("EILSEQ")
429
+ #endif
430
+ #if 0
431
+ /* "Operation in progress" error */
432
+ rb_define_const(rb_mErrno, "EINPROGRESS", eEINPROGRESS);
433
+ #endif
434
+ #ifdef EINPROGRESS
435
+ defined_error("EINPROGRESS", EINPROGRESS)
436
+ #else
437
+ undefined_error("EINPROGRESS")
438
+ #endif
439
+ #if 0
440
+ /* "Interrupted function call" error */
441
+ rb_define_const(rb_mErrno, "EINTR", eEINTR);
442
+ #endif
443
+ #ifdef EINTR
444
+ defined_error("EINTR", EINTR)
445
+ #else
446
+ undefined_error("EINTR")
447
+ #endif
448
+ #if 0
449
+ /* "Invalid argument" error */
450
+ rb_define_const(rb_mErrno, "EINVAL", eEINVAL);
451
+ #endif
452
+ #ifdef EINVAL
453
+ defined_error("EINVAL", EINVAL)
454
+ #else
455
+ undefined_error("EINVAL")
456
+ #endif
457
+ #if 0
458
+ /* "Input/output error" error */
459
+ rb_define_const(rb_mErrno, "EIO", eEIO);
460
+ #endif
461
+ #ifdef EIO
462
+ defined_error("EIO", EIO)
463
+ #else
464
+ undefined_error("EIO")
465
+ #endif
466
+ #if 0
467
+ /* "IPsec processing failure" error */
468
+ rb_define_const(rb_mErrno, "EIPSEC", eEIPSEC);
469
+ #endif
470
+ #ifdef EIPSEC
471
+ defined_error("EIPSEC", EIPSEC)
472
+ #else
473
+ undefined_error("EIPSEC")
474
+ #endif
475
+ #if 0
476
+ /* "Socket is connected" error */
477
+ rb_define_const(rb_mErrno, "EISCONN", eEISCONN);
478
+ #endif
479
+ #ifdef EISCONN
480
+ defined_error("EISCONN", EISCONN)
481
+ #else
482
+ undefined_error("EISCONN")
483
+ #endif
484
+ #if 0
485
+ /* "Is a directory" error */
486
+ rb_define_const(rb_mErrno, "EISDIR", eEISDIR);
487
+ #endif
488
+ #ifdef EISDIR
489
+ defined_error("EISDIR", EISDIR)
490
+ #else
491
+ undefined_error("EISDIR")
492
+ #endif
493
+ #if 0
494
+ /* "Is a named file type" error */
495
+ rb_define_const(rb_mErrno, "EISNAM", eEISNAM);
496
+ #endif
497
+ #ifdef EISNAM
498
+ defined_error("EISNAM", EISNAM)
499
+ #else
500
+ undefined_error("EISNAM")
501
+ #endif
502
+ #if 0
503
+ /* "Key has expired" error */
504
+ rb_define_const(rb_mErrno, "EKEYEXPIRED", eEKEYEXPIRED);
505
+ #endif
506
+ #ifdef EKEYEXPIRED
507
+ defined_error("EKEYEXPIRED", EKEYEXPIRED)
508
+ #else
509
+ undefined_error("EKEYEXPIRED")
510
+ #endif
511
+ #if 0
512
+ /* "Key was rejected by service" error */
513
+ rb_define_const(rb_mErrno, "EKEYREJECTED", eEKEYREJECTED);
514
+ #endif
515
+ #ifdef EKEYREJECTED
516
+ defined_error("EKEYREJECTED", EKEYREJECTED)
517
+ #else
518
+ undefined_error("EKEYREJECTED")
519
+ #endif
520
+ #if 0
521
+ /* "Key has been revoked" error */
522
+ rb_define_const(rb_mErrno, "EKEYREVOKED", eEKEYREVOKED);
523
+ #endif
524
+ #ifdef EKEYREVOKED
525
+ defined_error("EKEYREVOKED", EKEYREVOKED)
526
+ #else
527
+ undefined_error("EKEYREVOKED")
528
+ #endif
529
+ #if 0
530
+ /* "Level 2 halted" error */
531
+ rb_define_const(rb_mErrno, "EL2HLT", eEL2HLT);
532
+ #endif
533
+ #ifdef EL2HLT
534
+ defined_error("EL2HLT", EL2HLT)
535
+ #else
536
+ undefined_error("EL2HLT")
537
+ #endif
538
+ #if 0
539
+ /* "Level 2 not synchronized" error */
540
+ rb_define_const(rb_mErrno, "EL2NSYNC", eEL2NSYNC);
541
+ #endif
542
+ #ifdef EL2NSYNC
543
+ defined_error("EL2NSYNC", EL2NSYNC)
544
+ #else
545
+ undefined_error("EL2NSYNC")
546
+ #endif
547
+ #if 0
548
+ /* "Level 3 halted" error */
549
+ rb_define_const(rb_mErrno, "EL3HLT", eEL3HLT);
550
+ #endif
551
+ #ifdef EL3HLT
552
+ defined_error("EL3HLT", EL3HLT)
553
+ #else
554
+ undefined_error("EL3HLT")
555
+ #endif
556
+ #if 0
557
+ /* "Level 3 reset" error */
558
+ rb_define_const(rb_mErrno, "EL3RST", eEL3RST);
559
+ #endif
560
+ #ifdef EL3RST
561
+ defined_error("EL3RST", EL3RST)
562
+ #else
563
+ undefined_error("EL3RST")
564
+ #endif
565
+ #if 0
566
+ /* "Cannot access a needed shared library" error */
567
+ rb_define_const(rb_mErrno, "ELIBACC", eELIBACC);
568
+ #endif
569
+ #ifdef ELIBACC
570
+ defined_error("ELIBACC", ELIBACC)
571
+ #else
572
+ undefined_error("ELIBACC")
573
+ #endif
574
+ #if 0
575
+ /* "Accessing a corrupted shared library" error */
576
+ rb_define_const(rb_mErrno, "ELIBBAD", eELIBBAD);
577
+ #endif
578
+ #ifdef ELIBBAD
579
+ defined_error("ELIBBAD", ELIBBAD)
580
+ #else
581
+ undefined_error("ELIBBAD")
582
+ #endif
583
+ #if 0
584
+ /* "Cannot exec a shared library directly" error */
585
+ rb_define_const(rb_mErrno, "ELIBEXEC", eELIBEXEC);
586
+ #endif
587
+ #ifdef ELIBEXEC
588
+ defined_error("ELIBEXEC", ELIBEXEC)
589
+ #else
590
+ undefined_error("ELIBEXEC")
591
+ #endif
592
+ #if 0
593
+ /* "Attempting to link in too many shared libraries" error */
594
+ rb_define_const(rb_mErrno, "ELIBMAX", eELIBMAX);
595
+ #endif
596
+ #ifdef ELIBMAX
597
+ defined_error("ELIBMAX", ELIBMAX)
598
+ #else
599
+ undefined_error("ELIBMAX")
600
+ #endif
601
+ #if 0
602
+ /* ".lib section in a.out corrupted" error */
603
+ rb_define_const(rb_mErrno, "ELIBSCN", eELIBSCN);
604
+ #endif
605
+ #ifdef ELIBSCN
606
+ defined_error("ELIBSCN", ELIBSCN)
607
+ #else
608
+ undefined_error("ELIBSCN")
609
+ #endif
610
+ #if 0
611
+ /* "Link number out of range" error */
612
+ rb_define_const(rb_mErrno, "ELNRNG", eELNRNG);
613
+ #endif
614
+ #ifdef ELNRNG
615
+ defined_error("ELNRNG", ELNRNG)
616
+ #else
617
+ undefined_error("ELNRNG")
618
+ #endif
619
+ #if 0
620
+ /* "Too many levels of symbolic links" error */
621
+ rb_define_const(rb_mErrno, "ELOOP", eELOOP);
622
+ #endif
623
+ #ifdef ELOOP
624
+ defined_error("ELOOP", ELOOP)
625
+ #else
626
+ undefined_error("ELOOP")
627
+ #endif
628
+ #if 0
629
+ /* "Wrong medium type" error */
630
+ rb_define_const(rb_mErrno, "EMEDIUMTYPE", eEMEDIUMTYPE);
631
+ #endif
632
+ #ifdef EMEDIUMTYPE
633
+ defined_error("EMEDIUMTYPE", EMEDIUMTYPE)
634
+ #else
635
+ undefined_error("EMEDIUMTYPE")
636
+ #endif
637
+ #if 0
638
+ /* "Too many open files" error */
639
+ rb_define_const(rb_mErrno, "EMFILE", eEMFILE);
640
+ #endif
641
+ #ifdef EMFILE
642
+ defined_error("EMFILE", EMFILE)
643
+ #else
644
+ undefined_error("EMFILE")
645
+ #endif
646
+ #if 0
647
+ /* "Too many links" error */
648
+ rb_define_const(rb_mErrno, "EMLINK", eEMLINK);
649
+ #endif
650
+ #ifdef EMLINK
651
+ defined_error("EMLINK", EMLINK)
652
+ #else
653
+ undefined_error("EMLINK")
654
+ #endif
655
+ #if 0
656
+ /* "Message too long" error */
657
+ rb_define_const(rb_mErrno, "EMSGSIZE", eEMSGSIZE);
658
+ #endif
659
+ #ifdef EMSGSIZE
660
+ defined_error("EMSGSIZE", EMSGSIZE)
661
+ #else
662
+ undefined_error("EMSGSIZE")
663
+ #endif
664
+ #if 0
665
+ /* "Multihop attempted" error */
666
+ rb_define_const(rb_mErrno, "EMULTIHOP", eEMULTIHOP);
667
+ #endif
668
+ #ifdef EMULTIHOP
669
+ defined_error("EMULTIHOP", EMULTIHOP)
670
+ #else
671
+ undefined_error("EMULTIHOP")
672
+ #endif
673
+ #if 0
674
+ /* "Filename too long" error */
675
+ rb_define_const(rb_mErrno, "ENAMETOOLONG", eENAMETOOLONG);
676
+ #endif
677
+ #ifdef ENAMETOOLONG
678
+ defined_error("ENAMETOOLONG", ENAMETOOLONG)
679
+ #else
680
+ undefined_error("ENAMETOOLONG")
681
+ #endif
682
+ #if 0
683
+ /* "No XENIX semaphores available" error */
684
+ rb_define_const(rb_mErrno, "ENAVAIL", eENAVAIL);
685
+ #endif
686
+ #ifdef ENAVAIL
687
+ defined_error("ENAVAIL", ENAVAIL)
688
+ #else
689
+ undefined_error("ENAVAIL")
690
+ #endif
691
+ #if 0
692
+ /* "Need authenticator" error */
693
+ rb_define_const(rb_mErrno, "ENEEDAUTH", eENEEDAUTH);
694
+ #endif
695
+ #ifdef ENEEDAUTH
696
+ defined_error("ENEEDAUTH", ENEEDAUTH)
697
+ #else
698
+ undefined_error("ENEEDAUTH")
699
+ #endif
700
+ #if 0
701
+ /* "Network is down" error */
702
+ rb_define_const(rb_mErrno, "ENETDOWN", eENETDOWN);
703
+ #endif
704
+ #ifdef ENETDOWN
705
+ defined_error("ENETDOWN", ENETDOWN)
706
+ #else
707
+ undefined_error("ENETDOWN")
708
+ #endif
709
+ #if 0
710
+ /* "Connection aborted by network" error */
711
+ rb_define_const(rb_mErrno, "ENETRESET", eENETRESET);
712
+ #endif
713
+ #ifdef ENETRESET
714
+ defined_error("ENETRESET", ENETRESET)
715
+ #else
716
+ undefined_error("ENETRESET")
717
+ #endif
718
+ #if 0
719
+ /* "Network unreachable" error */
720
+ rb_define_const(rb_mErrno, "ENETUNREACH", eENETUNREACH);
721
+ #endif
722
+ #ifdef ENETUNREACH
723
+ defined_error("ENETUNREACH", ENETUNREACH)
724
+ #else
725
+ undefined_error("ENETUNREACH")
726
+ #endif
727
+ #if 0
728
+ /* "Too many open files in system" error */
729
+ rb_define_const(rb_mErrno, "ENFILE", eENFILE);
730
+ #endif
731
+ #ifdef ENFILE
732
+ defined_error("ENFILE", ENFILE)
733
+ #else
734
+ undefined_error("ENFILE")
735
+ #endif
736
+ #if 0
737
+ /* "No anode" error */
738
+ rb_define_const(rb_mErrno, "ENOANO", eENOANO);
739
+ #endif
740
+ #ifdef ENOANO
741
+ defined_error("ENOANO", ENOANO)
742
+ #else
743
+ undefined_error("ENOANO")
744
+ #endif
745
+ #if 0
746
+ /* "Attribute not found" error */
747
+ rb_define_const(rb_mErrno, "ENOATTR", eENOATTR);
748
+ #endif
749
+ #ifdef ENOATTR
750
+ defined_error("ENOATTR", ENOATTR)
751
+ #else
752
+ undefined_error("ENOATTR")
753
+ #endif
754
+ #if 0
755
+ /* "No buffer space available" error */
756
+ rb_define_const(rb_mErrno, "ENOBUFS", eENOBUFS);
757
+ #endif
758
+ #ifdef ENOBUFS
759
+ defined_error("ENOBUFS", ENOBUFS)
760
+ #else
761
+ undefined_error("ENOBUFS")
762
+ #endif
763
+ #if 0
764
+ /* "No CSI structure available" error */
765
+ rb_define_const(rb_mErrno, "ENOCSI", eENOCSI);
766
+ #endif
767
+ #ifdef ENOCSI
768
+ defined_error("ENOCSI", ENOCSI)
769
+ #else
770
+ undefined_error("ENOCSI")
771
+ #endif
772
+ #if 0
773
+ /* "No data available" error */
774
+ rb_define_const(rb_mErrno, "ENODATA", eENODATA);
775
+ #endif
776
+ #ifdef ENODATA
777
+ defined_error("ENODATA", ENODATA)
778
+ #else
779
+ undefined_error("ENODATA")
780
+ #endif
781
+ #if 0
782
+ /* "No such device" error */
783
+ rb_define_const(rb_mErrno, "ENODEV", eENODEV);
784
+ #endif
785
+ #ifdef ENODEV
786
+ defined_error("ENODEV", ENODEV)
787
+ #else
788
+ undefined_error("ENODEV")
789
+ #endif
790
+ #if 0
791
+ /* "No such file or directory" error */
792
+ rb_define_const(rb_mErrno, "ENOENT", eENOENT);
793
+ #endif
794
+ #ifdef ENOENT
795
+ defined_error("ENOENT", ENOENT)
796
+ #else
797
+ undefined_error("ENOENT")
798
+ #endif
799
+ #if 0
800
+ /* "Exec format error" error */
801
+ rb_define_const(rb_mErrno, "ENOEXEC", eENOEXEC);
802
+ #endif
803
+ #ifdef ENOEXEC
804
+ defined_error("ENOEXEC", ENOEXEC)
805
+ #else
806
+ undefined_error("ENOEXEC")
807
+ #endif
808
+ #if 0
809
+ /* "Required key not available" error */
810
+ rb_define_const(rb_mErrno, "ENOKEY", eENOKEY);
811
+ #endif
812
+ #ifdef ENOKEY
813
+ defined_error("ENOKEY", ENOKEY)
814
+ #else
815
+ undefined_error("ENOKEY")
816
+ #endif
817
+ #if 0
818
+ /* "No locks available" error */
819
+ rb_define_const(rb_mErrno, "ENOLCK", eENOLCK);
820
+ #endif
821
+ #ifdef ENOLCK
822
+ defined_error("ENOLCK", ENOLCK)
823
+ #else
824
+ undefined_error("ENOLCK")
825
+ #endif
826
+ #if 0
827
+ /* "Link has been severed" error */
828
+ rb_define_const(rb_mErrno, "ENOLINK", eENOLINK);
829
+ #endif
830
+ #ifdef ENOLINK
831
+ defined_error("ENOLINK", ENOLINK)
832
+ #else
833
+ undefined_error("ENOLINK")
834
+ #endif
835
+ #if 0
836
+ /* "No medium found" error */
837
+ rb_define_const(rb_mErrno, "ENOMEDIUM", eENOMEDIUM);
838
+ #endif
839
+ #ifdef ENOMEDIUM
840
+ defined_error("ENOMEDIUM", ENOMEDIUM)
841
+ #else
842
+ undefined_error("ENOMEDIUM")
843
+ #endif
844
+ #if 0
845
+ /* "Not enough space/cannot allocate memory" error */
846
+ rb_define_const(rb_mErrno, "ENOMEM", eENOMEM);
847
+ #endif
848
+ #ifdef ENOMEM
849
+ defined_error("ENOMEM", ENOMEM)
850
+ #else
851
+ undefined_error("ENOMEM")
852
+ #endif
853
+ #if 0
854
+ /* "No message of the desired type" error */
855
+ rb_define_const(rb_mErrno, "ENOMSG", eENOMSG);
856
+ #endif
857
+ #ifdef ENOMSG
858
+ defined_error("ENOMSG", ENOMSG)
859
+ #else
860
+ undefined_error("ENOMSG")
861
+ #endif
862
+ #if 0
863
+ /* "Machine is not on the network" error */
864
+ rb_define_const(rb_mErrno, "ENONET", eENONET);
865
+ #endif
866
+ #ifdef ENONET
867
+ defined_error("ENONET", ENONET)
868
+ #else
869
+ undefined_error("ENONET")
870
+ #endif
871
+ #if 0
872
+ /* "Package not installed" error */
873
+ rb_define_const(rb_mErrno, "ENOPKG", eENOPKG);
874
+ #endif
875
+ #ifdef ENOPKG
876
+ defined_error("ENOPKG", ENOPKG)
877
+ #else
878
+ undefined_error("ENOPKG")
879
+ #endif
880
+ #if 0
881
+ /* "No such policy" error */
882
+ rb_define_const(rb_mErrno, "ENOPOLICY", eENOPOLICY);
883
+ #endif
884
+ #ifdef ENOPOLICY
885
+ defined_error("ENOPOLICY", ENOPOLICY)
886
+ #else
887
+ undefined_error("ENOPOLICY")
888
+ #endif
889
+ #if 0
890
+ /* "Protocol not available" error */
891
+ rb_define_const(rb_mErrno, "ENOPROTOOPT", eENOPROTOOPT);
892
+ #endif
893
+ #ifdef ENOPROTOOPT
894
+ defined_error("ENOPROTOOPT", ENOPROTOOPT)
895
+ #else
896
+ undefined_error("ENOPROTOOPT")
897
+ #endif
898
+ #if 0
899
+ /* "No space left on device" error */
900
+ rb_define_const(rb_mErrno, "ENOSPC", eENOSPC);
901
+ #endif
902
+ #ifdef ENOSPC
903
+ defined_error("ENOSPC", ENOSPC)
904
+ #else
905
+ undefined_error("ENOSPC")
906
+ #endif
907
+ #if 0
908
+ /* "No STREAM resources" error */
909
+ rb_define_const(rb_mErrno, "ENOSR", eENOSR);
910
+ #endif
911
+ #ifdef ENOSR
912
+ defined_error("ENOSR", ENOSR)
913
+ #else
914
+ undefined_error("ENOSR")
915
+ #endif
916
+ #if 0
917
+ /* "Not a STREAM" error */
918
+ rb_define_const(rb_mErrno, "ENOSTR", eENOSTR);
919
+ #endif
920
+ #ifdef ENOSTR
921
+ defined_error("ENOSTR", ENOSTR)
922
+ #else
923
+ undefined_error("ENOSTR")
924
+ #endif
925
+ #if 0
926
+ /* "Functionality not implemented" error */
927
+ rb_define_const(rb_mErrno, "ENOSYS", eENOSYS);
928
+ #endif
929
+ #ifdef ENOSYS
930
+ defined_error("ENOSYS", ENOSYS)
931
+ #else
932
+ undefined_error("ENOSYS")
933
+ #endif
934
+ #if 0
935
+ /* "Block device required" error */
936
+ rb_define_const(rb_mErrno, "ENOTBLK", eENOTBLK);
937
+ #endif
938
+ #ifdef ENOTBLK
939
+ defined_error("ENOTBLK", ENOTBLK)
940
+ #else
941
+ undefined_error("ENOTBLK")
942
+ #endif
943
+ #if 0
944
+ /* "Capabilities insufficient" error */
945
+ rb_define_const(rb_mErrno, "ENOTCAPABLE", eENOTCAPABLE);
946
+ #endif
947
+ #ifdef ENOTCAPABLE
948
+ defined_error("ENOTCAPABLE", ENOTCAPABLE)
949
+ #else
950
+ undefined_error("ENOTCAPABLE")
951
+ #endif
952
+ #if 0
953
+ /* "The socket is not connected" error */
954
+ rb_define_const(rb_mErrno, "ENOTCONN", eENOTCONN);
955
+ #endif
956
+ #ifdef ENOTCONN
957
+ defined_error("ENOTCONN", ENOTCONN)
958
+ #else
959
+ undefined_error("ENOTCONN")
960
+ #endif
961
+ #if 0
962
+ /* "Not a directory" error */
963
+ rb_define_const(rb_mErrno, "ENOTDIR", eENOTDIR);
964
+ #endif
965
+ #ifdef ENOTDIR
966
+ defined_error("ENOTDIR", ENOTDIR)
967
+ #else
968
+ undefined_error("ENOTDIR")
969
+ #endif
970
+ #if 0
971
+ /* "Directory not empty" error */
972
+ rb_define_const(rb_mErrno, "ENOTEMPTY", eENOTEMPTY);
973
+ #endif
974
+ #ifdef ENOTEMPTY
975
+ defined_error("ENOTEMPTY", ENOTEMPTY)
976
+ #else
977
+ undefined_error("ENOTEMPTY")
978
+ #endif
979
+ #if 0
980
+ /* "Not a XENIX named type file" error */
981
+ rb_define_const(rb_mErrno, "ENOTNAM", eENOTNAM);
982
+ #endif
983
+ #ifdef ENOTNAM
984
+ defined_error("ENOTNAM", ENOTNAM)
985
+ #else
986
+ undefined_error("ENOTNAM")
987
+ #endif
988
+ #if 0
989
+ /* "State not recoverable" error */
990
+ rb_define_const(rb_mErrno, "ENOTRECOVERABLE", eENOTRECOVERABLE);
991
+ #endif
992
+ #ifdef ENOTRECOVERABLE
993
+ defined_error("ENOTRECOVERABLE", ENOTRECOVERABLE)
994
+ #else
995
+ undefined_error("ENOTRECOVERABLE")
996
+ #endif
997
+ #if 0
998
+ /* "Not a socket" error */
999
+ rb_define_const(rb_mErrno, "ENOTSOCK", eENOTSOCK);
1000
+ #endif
1001
+ #ifdef ENOTSOCK
1002
+ defined_error("ENOTSOCK", ENOTSOCK)
1003
+ #else
1004
+ undefined_error("ENOTSOCK")
1005
+ #endif
1006
+ #if 0
1007
+ /* "Operation not supported" error */
1008
+ rb_define_const(rb_mErrno, "ENOTSUP", eENOTSUP);
1009
+ #endif
1010
+ #ifdef ENOTSUP
1011
+ defined_error("ENOTSUP", ENOTSUP)
1012
+ #else
1013
+ undefined_error("ENOTSUP")
1014
+ #endif
1015
+ #if 0
1016
+ /* "Inappropriate I/O control operation" error */
1017
+ rb_define_const(rb_mErrno, "ENOTTY", eENOTTY);
1018
+ #endif
1019
+ #ifdef ENOTTY
1020
+ defined_error("ENOTTY", ENOTTY)
1021
+ #else
1022
+ undefined_error("ENOTTY")
1023
+ #endif
1024
+ #if 0
1025
+ /* "Name not unique on network" error */
1026
+ rb_define_const(rb_mErrno, "ENOTUNIQ", eENOTUNIQ);
1027
+ #endif
1028
+ #ifdef ENOTUNIQ
1029
+ defined_error("ENOTUNIQ", ENOTUNIQ)
1030
+ #else
1031
+ undefined_error("ENOTUNIQ")
1032
+ #endif
1033
+ #if 0
1034
+ /* "No such device or address" error */
1035
+ rb_define_const(rb_mErrno, "ENXIO", eENXIO);
1036
+ #endif
1037
+ #ifdef ENXIO
1038
+ defined_error("ENXIO", ENXIO)
1039
+ #else
1040
+ undefined_error("ENXIO")
1041
+ #endif
1042
+ #if 0
1043
+ /* "Operation not supported on socket" error */
1044
+ rb_define_const(rb_mErrno, "EOPNOTSUPP", eEOPNOTSUPP);
1045
+ #endif
1046
+ #ifdef EOPNOTSUPP
1047
+ defined_error("EOPNOTSUPP", EOPNOTSUPP)
1048
+ #else
1049
+ undefined_error("EOPNOTSUPP")
1050
+ #endif
1051
+ #if 0
1052
+ /* "Value too large to be stored in data type" error */
1053
+ rb_define_const(rb_mErrno, "EOVERFLOW", eEOVERFLOW);
1054
+ #endif
1055
+ #ifdef EOVERFLOW
1056
+ defined_error("EOVERFLOW", EOVERFLOW)
1057
+ #else
1058
+ undefined_error("EOVERFLOW")
1059
+ #endif
1060
+ #if 0
1061
+ /* "Owner died" error */
1062
+ rb_define_const(rb_mErrno, "EOWNERDEAD", eEOWNERDEAD);
1063
+ #endif
1064
+ #ifdef EOWNERDEAD
1065
+ defined_error("EOWNERDEAD", EOWNERDEAD)
1066
+ #else
1067
+ undefined_error("EOWNERDEAD")
1068
+ #endif
1069
+ #if 0
1070
+ /* "Operation not permitted" error */
1071
+ rb_define_const(rb_mErrno, "EPERM", eEPERM);
1072
+ #endif
1073
+ #ifdef EPERM
1074
+ defined_error("EPERM", EPERM)
1075
+ #else
1076
+ undefined_error("EPERM")
1077
+ #endif
1078
+ #if 0
1079
+ /* "Protocol family not supported" error */
1080
+ rb_define_const(rb_mErrno, "EPFNOSUPPORT", eEPFNOSUPPORT);
1081
+ #endif
1082
+ #ifdef EPFNOSUPPORT
1083
+ defined_error("EPFNOSUPPORT", EPFNOSUPPORT)
1084
+ #else
1085
+ undefined_error("EPFNOSUPPORT")
1086
+ #endif
1087
+ #if 0
1088
+ /* "Broken pipe" error */
1089
+ rb_define_const(rb_mErrno, "EPIPE", eEPIPE);
1090
+ #endif
1091
+ #ifdef EPIPE
1092
+ defined_error("EPIPE", EPIPE)
1093
+ #else
1094
+ undefined_error("EPIPE")
1095
+ #endif
1096
+ #if 0
1097
+ /* "Too many processes" error */
1098
+ rb_define_const(rb_mErrno, "EPROCLIM", eEPROCLIM);
1099
+ #endif
1100
+ #ifdef EPROCLIM
1101
+ defined_error("EPROCLIM", EPROCLIM)
1102
+ #else
1103
+ undefined_error("EPROCLIM")
1104
+ #endif
1105
+ #if 0
1106
+ /* "Bad procedure for program" error */
1107
+ rb_define_const(rb_mErrno, "EPROCUNAVAIL", eEPROCUNAVAIL);
1108
+ #endif
1109
+ #ifdef EPROCUNAVAIL
1110
+ defined_error("EPROCUNAVAIL", EPROCUNAVAIL)
1111
+ #else
1112
+ undefined_error("EPROCUNAVAIL")
1113
+ #endif
1114
+ #if 0
1115
+ /* "Program version wrong" error */
1116
+ rb_define_const(rb_mErrno, "EPROGMISMATCH", eEPROGMISMATCH);
1117
+ #endif
1118
+ #ifdef EPROGMISMATCH
1119
+ defined_error("EPROGMISMATCH", EPROGMISMATCH)
1120
+ #else
1121
+ undefined_error("EPROGMISMATCH")
1122
+ #endif
1123
+ #if 0
1124
+ /* "RPC program isn't available" error */
1125
+ rb_define_const(rb_mErrno, "EPROGUNAVAIL", eEPROGUNAVAIL);
1126
+ #endif
1127
+ #ifdef EPROGUNAVAIL
1128
+ defined_error("EPROGUNAVAIL", EPROGUNAVAIL)
1129
+ #else
1130
+ undefined_error("EPROGUNAVAIL")
1131
+ #endif
1132
+ #if 0
1133
+ /* "Protocol error" error */
1134
+ rb_define_const(rb_mErrno, "EPROTO", eEPROTO);
1135
+ #endif
1136
+ #ifdef EPROTO
1137
+ defined_error("EPROTO", EPROTO)
1138
+ #else
1139
+ undefined_error("EPROTO")
1140
+ #endif
1141
+ #if 0
1142
+ /* "Protocol not supported" error */
1143
+ rb_define_const(rb_mErrno, "EPROTONOSUPPORT", eEPROTONOSUPPORT);
1144
+ #endif
1145
+ #ifdef EPROTONOSUPPORT
1146
+ defined_error("EPROTONOSUPPORT", EPROTONOSUPPORT)
1147
+ #else
1148
+ undefined_error("EPROTONOSUPPORT")
1149
+ #endif
1150
+ #if 0
1151
+ /* "Protocol wrong type for socket" error */
1152
+ rb_define_const(rb_mErrno, "EPROTOTYPE", eEPROTOTYPE);
1153
+ #endif
1154
+ #ifdef EPROTOTYPE
1155
+ defined_error("EPROTOTYPE", EPROTOTYPE)
1156
+ #else
1157
+ undefined_error("EPROTOTYPE")
1158
+ #endif
1159
+ #if 0
1160
+ /* "Device power is off" error */
1161
+ rb_define_const(rb_mErrno, "EPWROFF", eEPWROFF);
1162
+ #endif
1163
+ #ifdef EPWROFF
1164
+ defined_error("EPWROFF", EPWROFF)
1165
+ #else
1166
+ undefined_error("EPWROFF")
1167
+ #endif
1168
+ #if 0
1169
+ /* "Interface output queue is full" error */
1170
+ rb_define_const(rb_mErrno, "EQFULL", eEQFULL);
1171
+ #endif
1172
+ #ifdef EQFULL
1173
+ defined_error("EQFULL", EQFULL)
1174
+ #else
1175
+ undefined_error("EQFULL")
1176
+ #endif
1177
+ #if 0
1178
+ /* "Result too large" error */
1179
+ rb_define_const(rb_mErrno, "ERANGE", eERANGE);
1180
+ #endif
1181
+ #ifdef ERANGE
1182
+ defined_error("ERANGE", ERANGE)
1183
+ #else
1184
+ undefined_error("ERANGE")
1185
+ #endif
1186
+ #if 0
1187
+ /* "Remote address changed" error */
1188
+ rb_define_const(rb_mErrno, "EREMCHG", eEREMCHG);
1189
+ #endif
1190
+ #ifdef EREMCHG
1191
+ defined_error("EREMCHG", EREMCHG)
1192
+ #else
1193
+ undefined_error("EREMCHG")
1194
+ #endif
1195
+ #if 0
1196
+ /* "Object is remote" error */
1197
+ rb_define_const(rb_mErrno, "EREMOTE", eEREMOTE);
1198
+ #endif
1199
+ #ifdef EREMOTE
1200
+ defined_error("EREMOTE", EREMOTE)
1201
+ #else
1202
+ undefined_error("EREMOTE")
1203
+ #endif
1204
+ #if 0
1205
+ /* "Remote I/O error" error */
1206
+ rb_define_const(rb_mErrno, "EREMOTEIO", eEREMOTEIO);
1207
+ #endif
1208
+ #ifdef EREMOTEIO
1209
+ defined_error("EREMOTEIO", EREMOTEIO)
1210
+ #else
1211
+ undefined_error("EREMOTEIO")
1212
+ #endif
1213
+ #if 0
1214
+ /* "Interrupted system call should be restarted" error */
1215
+ rb_define_const(rb_mErrno, "ERESTART", eERESTART);
1216
+ #endif
1217
+ #ifdef ERESTART
1218
+ defined_error("ERESTART", ERESTART)
1219
+ #else
1220
+ undefined_error("ERESTART")
1221
+ #endif
1222
+ #if 0
1223
+ /* "Operation not possible due to RF-kill" error */
1224
+ rb_define_const(rb_mErrno, "ERFKILL", eERFKILL);
1225
+ #endif
1226
+ #ifdef ERFKILL
1227
+ defined_error("ERFKILL", ERFKILL)
1228
+ #else
1229
+ undefined_error("ERFKILL")
1230
+ #endif
1231
+ #if 0
1232
+ /* "Read-only file system" error */
1233
+ rb_define_const(rb_mErrno, "EROFS", eEROFS);
1234
+ #endif
1235
+ #ifdef EROFS
1236
+ defined_error("EROFS", EROFS)
1237
+ #else
1238
+ undefined_error("EROFS")
1239
+ #endif
1240
+ #if 0
1241
+ /* "RPC version wrong" error */
1242
+ rb_define_const(rb_mErrno, "ERPCMISMATCH", eERPCMISMATCH);
1243
+ #endif
1244
+ #ifdef ERPCMISMATCH
1245
+ defined_error("ERPCMISMATCH", ERPCMISMATCH)
1246
+ #else
1247
+ undefined_error("ERPCMISMATCH")
1248
+ #endif
1249
+ #if 0
1250
+ /* "Shared library version mismatch" error */
1251
+ rb_define_const(rb_mErrno, "ESHLIBVERS", eESHLIBVERS);
1252
+ #endif
1253
+ #ifdef ESHLIBVERS
1254
+ defined_error("ESHLIBVERS", ESHLIBVERS)
1255
+ #else
1256
+ undefined_error("ESHLIBVERS")
1257
+ #endif
1258
+ #if 0
1259
+ /* "Cannot send after transport endpoint shutdown" error */
1260
+ rb_define_const(rb_mErrno, "ESHUTDOWN", eESHUTDOWN);
1261
+ #endif
1262
+ #ifdef ESHUTDOWN
1263
+ defined_error("ESHUTDOWN", ESHUTDOWN)
1264
+ #else
1265
+ undefined_error("ESHUTDOWN")
1266
+ #endif
1267
+ #if 0
1268
+ /* "Socket type not supported" error */
1269
+ rb_define_const(rb_mErrno, "ESOCKTNOSUPPORT", eESOCKTNOSUPPORT);
1270
+ #endif
1271
+ #ifdef ESOCKTNOSUPPORT
1272
+ defined_error("ESOCKTNOSUPPORT", ESOCKTNOSUPPORT)
1273
+ #else
1274
+ undefined_error("ESOCKTNOSUPPORT")
1275
+ #endif
1276
+ #if 0
1277
+ /* "Illegal seek" error */
1278
+ rb_define_const(rb_mErrno, "ESPIPE", eESPIPE);
1279
+ #endif
1280
+ #ifdef ESPIPE
1281
+ defined_error("ESPIPE", ESPIPE)
1282
+ #else
1283
+ undefined_error("ESPIPE")
1284
+ #endif
1285
+ #if 0
1286
+ /* "No such process" error */
1287
+ rb_define_const(rb_mErrno, "ESRCH", eESRCH);
1288
+ #endif
1289
+ #ifdef ESRCH
1290
+ defined_error("ESRCH", ESRCH)
1291
+ #else
1292
+ undefined_error("ESRCH")
1293
+ #endif
1294
+ #if 0
1295
+ /* "Server mount error" error */
1296
+ rb_define_const(rb_mErrno, "ESRMNT", eESRMNT);
1297
+ #endif
1298
+ #ifdef ESRMNT
1299
+ defined_error("ESRMNT", ESRMNT)
1300
+ #else
1301
+ undefined_error("ESRMNT")
1302
+ #endif
1303
+ #if 0
1304
+ /* "Stale file handle" error */
1305
+ rb_define_const(rb_mErrno, "ESTALE", eESTALE);
1306
+ #endif
1307
+ #ifdef ESTALE
1308
+ defined_error("ESTALE", ESTALE)
1309
+ #else
1310
+ undefined_error("ESTALE")
1311
+ #endif
1312
+ #if 0
1313
+ /* "Streams pipe error" error */
1314
+ rb_define_const(rb_mErrno, "ESTRPIPE", eESTRPIPE);
1315
+ #endif
1316
+ #ifdef ESTRPIPE
1317
+ defined_error("ESTRPIPE", ESTRPIPE)
1318
+ #else
1319
+ undefined_error("ESTRPIPE")
1320
+ #endif
1321
+ #if 0
1322
+ /* "Timer expired" error */
1323
+ rb_define_const(rb_mErrno, "ETIME", eETIME);
1324
+ #endif
1325
+ #ifdef ETIME
1326
+ defined_error("ETIME", ETIME)
1327
+ #else
1328
+ undefined_error("ETIME")
1329
+ #endif
1330
+ #if 0
1331
+ /* "Connection timed out" error */
1332
+ rb_define_const(rb_mErrno, "ETIMEDOUT", eETIMEDOUT);
1333
+ #endif
1334
+ #ifdef ETIMEDOUT
1335
+ defined_error("ETIMEDOUT", ETIMEDOUT)
1336
+ #else
1337
+ undefined_error("ETIMEDOUT")
1338
+ #endif
1339
+ #if 0
1340
+ /* "Too many references: cannot splice" error */
1341
+ rb_define_const(rb_mErrno, "ETOOMANYREFS", eETOOMANYREFS);
1342
+ #endif
1343
+ #ifdef ETOOMANYREFS
1344
+ defined_error("ETOOMANYREFS", ETOOMANYREFS)
1345
+ #else
1346
+ undefined_error("ETOOMANYREFS")
1347
+ #endif
1348
+ #if 0
1349
+ /* "Text file busy" error */
1350
+ rb_define_const(rb_mErrno, "ETXTBSY", eETXTBSY);
1351
+ #endif
1352
+ #ifdef ETXTBSY
1353
+ defined_error("ETXTBSY", ETXTBSY)
1354
+ #else
1355
+ undefined_error("ETXTBSY")
1356
+ #endif
1357
+ #if 0
1358
+ /* "Structure needs cleaning" error */
1359
+ rb_define_const(rb_mErrno, "EUCLEAN", eEUCLEAN);
1360
+ #endif
1361
+ #ifdef EUCLEAN
1362
+ defined_error("EUCLEAN", EUCLEAN)
1363
+ #else
1364
+ undefined_error("EUCLEAN")
1365
+ #endif
1366
+ #if 0
1367
+ /* "Protocol driver not attached" error */
1368
+ rb_define_const(rb_mErrno, "EUNATCH", eEUNATCH);
1369
+ #endif
1370
+ #ifdef EUNATCH
1371
+ defined_error("EUNATCH", EUNATCH)
1372
+ #else
1373
+ undefined_error("EUNATCH")
1374
+ #endif
1375
+ #if 0
1376
+ /* "Too many users" error */
1377
+ rb_define_const(rb_mErrno, "EUSERS", eEUSERS);
1378
+ #endif
1379
+ #ifdef EUSERS
1380
+ defined_error("EUSERS", EUSERS)
1381
+ #else
1382
+ undefined_error("EUSERS")
1383
+ #endif
1384
+ #if 0
1385
+ /* "Operation would block" error */
1386
+ rb_define_const(rb_mErrno, "EWOULDBLOCK", eEWOULDBLOCK);
1387
+ #endif
1388
+ #ifdef EWOULDBLOCK
1389
+ defined_error("EWOULDBLOCK", EWOULDBLOCK)
1390
+ #else
1391
+ undefined_error("EWOULDBLOCK")
1392
+ #endif
1393
+ #if 0
1394
+ /* "Invalid cross-device link" error */
1395
+ rb_define_const(rb_mErrno, "EXDEV", eEXDEV);
1396
+ #endif
1397
+ #ifdef EXDEV
1398
+ defined_error("EXDEV", EXDEV)
1399
+ #else
1400
+ undefined_error("EXDEV")
1401
+ #endif
1402
+ #if 0
1403
+ /* "Exchange full" error */
1404
+ rb_define_const(rb_mErrno, "EXFULL", eEXFULL);
1405
+ #endif
1406
+ #ifdef EXFULL
1407
+ defined_error("EXFULL", EXFULL)
1408
+ #else
1409
+ undefined_error("EXFULL")
1410
+ #endif
1411
+ #if 0
1412
+ /* "Largest errno value" error */
1413
+ rb_define_const(rb_mErrno, "ELAST", eELAST);
1414
+ #endif
1415
+ #ifdef ELAST
1416
+ defined_error("ELAST", ELAST)
1417
+ #else
1418
+ undefined_error("ELAST")
1419
+ #endif