@scriptc/cli-darwin-arm64 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/THIRD_PARTY_NOTICES +1 -1
- package/dist/bin/scriptc +0 -0
- package/dist/bin/scriptc.json +1 -1
- package/dist/lib/declarations/scriptc-node-fallback.d.ts +99 -27
- package/dist/lib/llvm/bin/scriptc-llvm-codegen +0 -0
- package/dist/lib/llvm/package.json +1 -1
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_async.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_events.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_file_handle.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_util_compare.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/default/scr_util_style.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_async.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_events.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_file_handle.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_island.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_util_compare.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_util_style.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/dev/runtime/dynamic/scr_web.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-dev/runtime/default/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-dev/runtime/default/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-dev/runtime/default/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-dev/runtime/default/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-dev/runtime/default/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-dev/runtime/default/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-dev/runtime/default/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-dev/runtime/default/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-dev/runtime/default/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-dev/runtime/default/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-dev/runtime/default/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-dev/runtime/default/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-release/runtime/default/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-release/runtime/default/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-release/runtime/default/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-release/runtime/default/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-release/runtime/default/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-release/runtime/default/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-release/runtime/default/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-release/runtime/default/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-release/runtime/default/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-release/runtime/default/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-release/runtime/default/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-release/runtime/default/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-dev/runtime/default/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-dev/runtime/default/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-dev/runtime/default/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-dev/runtime/default/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-dev/runtime/default/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-dev/runtime/default/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-dev/runtime/default/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-dev/runtime/default/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-dev/runtime/default/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-dev/runtime/default/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-dev/runtime/default/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-dev/runtime/default/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-release/runtime/default/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-release/runtime/default/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-release/runtime/default/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-release/runtime/default/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-release/runtime/default/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-release/runtime/default/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-release/runtime/default/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-release/runtime/default/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-release/runtime/default/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-release/runtime/default/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-release/runtime/default/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/library-thread-release/runtime/default/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_async.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_events.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_file_handle.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_util_compare.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/default/scr_util_style.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_array.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_assert.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_async.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_bytes_io.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_events.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_exception.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_file_handle.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_island.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_json.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_lib.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_map.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_node_builtin.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_regex.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_symbol.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_url.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_url_params.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_util_compare.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_util_style.o +0 -0
- package/dist/lib/runtime-darwin-arm64/artifacts/release/runtime/dynamic/scr_web.o +0 -0
- package/dist/lib/runtime-darwin-arm64/package.json +1 -1
- package/dist/lib/runtime-darwin-arm64/runtime-pack.json +351 -225
- package/dist/lib/runtime-sources/package.json +1 -1
- package/dist/lib/runtime-sources/src/scr_array.c +5 -0
- package/dist/lib/runtime-sources/src/scr_assert.c +26 -0
- package/dist/lib/runtime-sources/src/scr_async.c +44 -0
- package/dist/lib/runtime-sources/src/scr_bytes_io.c +305 -48
- package/dist/lib/runtime-sources/src/scr_events.c +9 -0
- package/dist/lib/runtime-sources/src/scr_exception.c +1 -0
- package/dist/lib/runtime-sources/src/scr_file_handle.c +11 -0
- package/dist/lib/runtime-sources/src/scr_island.c +1001 -417
- package/dist/lib/runtime-sources/src/scr_island_manifest.h +11 -7
- package/dist/lib/runtime-sources/src/scr_json.c +135 -2
- package/dist/lib/runtime-sources/src/scr_lib.c +379 -12
- package/dist/lib/runtime-sources/src/scr_map.c +8 -0
- package/dist/lib/runtime-sources/src/scr_node_builtin.c +78 -0
- package/dist/lib/runtime-sources/src/scr_regex.c +65 -0
- package/dist/lib/runtime-sources/src/scr_runtime.h +69 -1
- package/dist/lib/runtime-sources/src/scr_symbol.c +5 -0
- package/dist/lib/runtime-sources/src/scr_system_errors.h +573 -0
- package/dist/lib/runtime-sources/src/scr_url.c +515 -59
- package/dist/lib/runtime-sources/src/scr_url_internal.h +6 -0
- package/dist/lib/runtime-sources/src/scr_url_params.c +10 -0
- package/dist/lib/runtime-sources/src/scr_util_compare.c +222 -0
- package/dist/lib/runtime-sources/src/scr_util_style.c +337 -0
- package/dist/lib/runtime-sources/src/scr_web.c +720 -238
- package/package.json +1 -1
|
@@ -0,0 +1,573 @@
|
|
|
1
|
+
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
2
|
+
*
|
|
3
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
* of this software and associated documentation files (the "Software"), to
|
|
5
|
+
* deal in the Software without restriction, including without limitation the
|
|
6
|
+
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
* sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
* furnished to do so, subject to the following conditions:
|
|
9
|
+
*
|
|
10
|
+
* The above copyright notice and this permission notice shall be included in
|
|
11
|
+
* all copies or substantial portions of the Software.
|
|
12
|
+
*
|
|
13
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
18
|
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
19
|
+
* IN THE SOFTWARE.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
#ifndef SCR_NODE_UV_ERRNO_H_
|
|
23
|
+
#define SCR_NODE_UV_ERRNO_H_
|
|
24
|
+
|
|
25
|
+
/* Node v24.15.0, commit 848430679556aed0bd073f2bc263331ad84fa119.
|
|
26
|
+
* libuv errno values and messages are part of node:util's observable API.
|
|
27
|
+
* Kept independent of libuv so native binaries need no additional library. */
|
|
28
|
+
#include <errno.h>
|
|
29
|
+
#if EDOM > 0
|
|
30
|
+
# define SCR_NODE_UV__ERR(x) (-(x))
|
|
31
|
+
#else
|
|
32
|
+
# define SCR_NODE_UV__ERR(x) (x)
|
|
33
|
+
#endif
|
|
34
|
+
|
|
35
|
+
#define SCR_NODE_UV__EOF (-4095)
|
|
36
|
+
#define SCR_NODE_UV__UNKNOWN (-4094)
|
|
37
|
+
|
|
38
|
+
#define SCR_NODE_UV__EAI_ADDRFAMILY (-3000)
|
|
39
|
+
#define SCR_NODE_UV__EAI_AGAIN (-3001)
|
|
40
|
+
#define SCR_NODE_UV__EAI_BADFLAGS (-3002)
|
|
41
|
+
#define SCR_NODE_UV__EAI_CANCELED (-3003)
|
|
42
|
+
#define SCR_NODE_UV__EAI_FAIL (-3004)
|
|
43
|
+
#define SCR_NODE_UV__EAI_FAMILY (-3005)
|
|
44
|
+
#define SCR_NODE_UV__EAI_MEMORY (-3006)
|
|
45
|
+
#define SCR_NODE_UV__EAI_NODATA (-3007)
|
|
46
|
+
#define SCR_NODE_UV__EAI_NONAME (-3008)
|
|
47
|
+
#define SCR_NODE_UV__EAI_OVERFLOW (-3009)
|
|
48
|
+
#define SCR_NODE_UV__EAI_SERVICE (-3010)
|
|
49
|
+
#define SCR_NODE_UV__EAI_SOCKTYPE (-3011)
|
|
50
|
+
#define SCR_NODE_UV__EAI_BADHINTS (-3013)
|
|
51
|
+
#define SCR_NODE_UV__EAI_PROTOCOL (-3014)
|
|
52
|
+
|
|
53
|
+
/* Only map to the system errno on non-Windows platforms. It's apparently
|
|
54
|
+
* a fairly common practice for Windows programmers to redefine errno codes.
|
|
55
|
+
*/
|
|
56
|
+
#if defined(E2BIG) && !defined(_WIN32)
|
|
57
|
+
# define SCR_NODE_UV__E2BIG SCR_NODE_UV__ERR(E2BIG)
|
|
58
|
+
#else
|
|
59
|
+
# define SCR_NODE_UV__E2BIG (-4093)
|
|
60
|
+
#endif
|
|
61
|
+
|
|
62
|
+
#if defined(EACCES) && !defined(_WIN32)
|
|
63
|
+
# define SCR_NODE_UV__EACCES SCR_NODE_UV__ERR(EACCES)
|
|
64
|
+
#else
|
|
65
|
+
# define SCR_NODE_UV__EACCES (-4092)
|
|
66
|
+
#endif
|
|
67
|
+
|
|
68
|
+
#if defined(EADDRINUSE) && !defined(_WIN32)
|
|
69
|
+
# define SCR_NODE_UV__EADDRINUSE SCR_NODE_UV__ERR(EADDRINUSE)
|
|
70
|
+
#else
|
|
71
|
+
# define SCR_NODE_UV__EADDRINUSE (-4091)
|
|
72
|
+
#endif
|
|
73
|
+
|
|
74
|
+
#if defined(EADDRNOTAVAIL) && !defined(_WIN32)
|
|
75
|
+
# define SCR_NODE_UV__EADDRNOTAVAIL SCR_NODE_UV__ERR(EADDRNOTAVAIL)
|
|
76
|
+
#else
|
|
77
|
+
# define SCR_NODE_UV__EADDRNOTAVAIL (-4090)
|
|
78
|
+
#endif
|
|
79
|
+
|
|
80
|
+
#if defined(EAFNOSUPPORT) && !defined(_WIN32)
|
|
81
|
+
# define SCR_NODE_UV__EAFNOSUPPORT SCR_NODE_UV__ERR(EAFNOSUPPORT)
|
|
82
|
+
#else
|
|
83
|
+
# define SCR_NODE_UV__EAFNOSUPPORT (-4089)
|
|
84
|
+
#endif
|
|
85
|
+
|
|
86
|
+
#if defined(EAGAIN) && !defined(_WIN32)
|
|
87
|
+
# define SCR_NODE_UV__EAGAIN SCR_NODE_UV__ERR(EAGAIN)
|
|
88
|
+
#else
|
|
89
|
+
# define SCR_NODE_UV__EAGAIN (-4088)
|
|
90
|
+
#endif
|
|
91
|
+
|
|
92
|
+
#if defined(EALREADY) && !defined(_WIN32)
|
|
93
|
+
# define SCR_NODE_UV__EALREADY SCR_NODE_UV__ERR(EALREADY)
|
|
94
|
+
#else
|
|
95
|
+
# define SCR_NODE_UV__EALREADY (-4084)
|
|
96
|
+
#endif
|
|
97
|
+
|
|
98
|
+
#if defined(EBADF) && !defined(_WIN32)
|
|
99
|
+
# define SCR_NODE_UV__EBADF SCR_NODE_UV__ERR(EBADF)
|
|
100
|
+
#else
|
|
101
|
+
# define SCR_NODE_UV__EBADF (-4083)
|
|
102
|
+
#endif
|
|
103
|
+
|
|
104
|
+
#if defined(EBUSY) && !defined(_WIN32)
|
|
105
|
+
# define SCR_NODE_UV__EBUSY SCR_NODE_UV__ERR(EBUSY)
|
|
106
|
+
#else
|
|
107
|
+
# define SCR_NODE_UV__EBUSY (-4082)
|
|
108
|
+
#endif
|
|
109
|
+
|
|
110
|
+
#if defined(ECANCELED) && !defined(_WIN32)
|
|
111
|
+
# define SCR_NODE_UV__ECANCELED SCR_NODE_UV__ERR(ECANCELED)
|
|
112
|
+
#else
|
|
113
|
+
# define SCR_NODE_UV__ECANCELED (-4081)
|
|
114
|
+
#endif
|
|
115
|
+
|
|
116
|
+
#if defined(ECHARSET) && !defined(_WIN32)
|
|
117
|
+
# define SCR_NODE_UV__ECHARSET SCR_NODE_UV__ERR(ECHARSET)
|
|
118
|
+
#else
|
|
119
|
+
# define SCR_NODE_UV__ECHARSET (-4080)
|
|
120
|
+
#endif
|
|
121
|
+
|
|
122
|
+
#if defined(ECONNABORTED) && !defined(_WIN32)
|
|
123
|
+
# define SCR_NODE_UV__ECONNABORTED SCR_NODE_UV__ERR(ECONNABORTED)
|
|
124
|
+
#else
|
|
125
|
+
# define SCR_NODE_UV__ECONNABORTED (-4079)
|
|
126
|
+
#endif
|
|
127
|
+
|
|
128
|
+
#if defined(ECONNREFUSED) && !defined(_WIN32)
|
|
129
|
+
# define SCR_NODE_UV__ECONNREFUSED SCR_NODE_UV__ERR(ECONNREFUSED)
|
|
130
|
+
#else
|
|
131
|
+
# define SCR_NODE_UV__ECONNREFUSED (-4078)
|
|
132
|
+
#endif
|
|
133
|
+
|
|
134
|
+
#if defined(ECONNRESET) && !defined(_WIN32)
|
|
135
|
+
# define SCR_NODE_UV__ECONNRESET SCR_NODE_UV__ERR(ECONNRESET)
|
|
136
|
+
#else
|
|
137
|
+
# define SCR_NODE_UV__ECONNRESET (-4077)
|
|
138
|
+
#endif
|
|
139
|
+
|
|
140
|
+
#if defined(EDESTADDRREQ) && !defined(_WIN32)
|
|
141
|
+
# define SCR_NODE_UV__EDESTADDRREQ SCR_NODE_UV__ERR(EDESTADDRREQ)
|
|
142
|
+
#else
|
|
143
|
+
# define SCR_NODE_UV__EDESTADDRREQ (-4076)
|
|
144
|
+
#endif
|
|
145
|
+
|
|
146
|
+
#if defined(EEXIST) && !defined(_WIN32)
|
|
147
|
+
# define SCR_NODE_UV__EEXIST SCR_NODE_UV__ERR(EEXIST)
|
|
148
|
+
#else
|
|
149
|
+
# define SCR_NODE_UV__EEXIST (-4075)
|
|
150
|
+
#endif
|
|
151
|
+
|
|
152
|
+
#if defined(EFAULT) && !defined(_WIN32)
|
|
153
|
+
# define SCR_NODE_UV__EFAULT SCR_NODE_UV__ERR(EFAULT)
|
|
154
|
+
#else
|
|
155
|
+
# define SCR_NODE_UV__EFAULT (-4074)
|
|
156
|
+
#endif
|
|
157
|
+
|
|
158
|
+
#if defined(EHOSTUNREACH) && !defined(_WIN32)
|
|
159
|
+
# define SCR_NODE_UV__EHOSTUNREACH SCR_NODE_UV__ERR(EHOSTUNREACH)
|
|
160
|
+
#else
|
|
161
|
+
# define SCR_NODE_UV__EHOSTUNREACH (-4073)
|
|
162
|
+
#endif
|
|
163
|
+
|
|
164
|
+
#if defined(EINTR) && !defined(_WIN32)
|
|
165
|
+
# define SCR_NODE_UV__EINTR SCR_NODE_UV__ERR(EINTR)
|
|
166
|
+
#else
|
|
167
|
+
# define SCR_NODE_UV__EINTR (-4072)
|
|
168
|
+
#endif
|
|
169
|
+
|
|
170
|
+
#if defined(EINVAL) && !defined(_WIN32)
|
|
171
|
+
# define SCR_NODE_UV__EINVAL SCR_NODE_UV__ERR(EINVAL)
|
|
172
|
+
#else
|
|
173
|
+
# define SCR_NODE_UV__EINVAL (-4071)
|
|
174
|
+
#endif
|
|
175
|
+
|
|
176
|
+
#if defined(EIO) && !defined(_WIN32)
|
|
177
|
+
# define SCR_NODE_UV__EIO SCR_NODE_UV__ERR(EIO)
|
|
178
|
+
#else
|
|
179
|
+
# define SCR_NODE_UV__EIO (-4070)
|
|
180
|
+
#endif
|
|
181
|
+
|
|
182
|
+
#if defined(EISCONN) && !defined(_WIN32)
|
|
183
|
+
# define SCR_NODE_UV__EISCONN SCR_NODE_UV__ERR(EISCONN)
|
|
184
|
+
#else
|
|
185
|
+
# define SCR_NODE_UV__EISCONN (-4069)
|
|
186
|
+
#endif
|
|
187
|
+
|
|
188
|
+
#if defined(EISDIR) && !defined(_WIN32)
|
|
189
|
+
# define SCR_NODE_UV__EISDIR SCR_NODE_UV__ERR(EISDIR)
|
|
190
|
+
#else
|
|
191
|
+
# define SCR_NODE_UV__EISDIR (-4068)
|
|
192
|
+
#endif
|
|
193
|
+
|
|
194
|
+
#if defined(ELOOP) && !defined(_WIN32)
|
|
195
|
+
# define SCR_NODE_UV__ELOOP SCR_NODE_UV__ERR(ELOOP)
|
|
196
|
+
#else
|
|
197
|
+
# define SCR_NODE_UV__ELOOP (-4067)
|
|
198
|
+
#endif
|
|
199
|
+
|
|
200
|
+
#if defined(EMFILE) && !defined(_WIN32)
|
|
201
|
+
# define SCR_NODE_UV__EMFILE SCR_NODE_UV__ERR(EMFILE)
|
|
202
|
+
#else
|
|
203
|
+
# define SCR_NODE_UV__EMFILE (-4066)
|
|
204
|
+
#endif
|
|
205
|
+
|
|
206
|
+
#if defined(EMSGSIZE) && !defined(_WIN32)
|
|
207
|
+
# define SCR_NODE_UV__EMSGSIZE SCR_NODE_UV__ERR(EMSGSIZE)
|
|
208
|
+
#else
|
|
209
|
+
# define SCR_NODE_UV__EMSGSIZE (-4065)
|
|
210
|
+
#endif
|
|
211
|
+
|
|
212
|
+
#if defined(ENAMETOOLONG) && !defined(_WIN32)
|
|
213
|
+
# define SCR_NODE_UV__ENAMETOOLONG SCR_NODE_UV__ERR(ENAMETOOLONG)
|
|
214
|
+
#else
|
|
215
|
+
# define SCR_NODE_UV__ENAMETOOLONG (-4064)
|
|
216
|
+
#endif
|
|
217
|
+
|
|
218
|
+
#if defined(ENETDOWN) && !defined(_WIN32)
|
|
219
|
+
# define SCR_NODE_UV__ENETDOWN SCR_NODE_UV__ERR(ENETDOWN)
|
|
220
|
+
#else
|
|
221
|
+
# define SCR_NODE_UV__ENETDOWN (-4063)
|
|
222
|
+
#endif
|
|
223
|
+
|
|
224
|
+
#if defined(ENETUNREACH) && !defined(_WIN32)
|
|
225
|
+
# define SCR_NODE_UV__ENETUNREACH SCR_NODE_UV__ERR(ENETUNREACH)
|
|
226
|
+
#else
|
|
227
|
+
# define SCR_NODE_UV__ENETUNREACH (-4062)
|
|
228
|
+
#endif
|
|
229
|
+
|
|
230
|
+
#if defined(ENFILE) && !defined(_WIN32)
|
|
231
|
+
# define SCR_NODE_UV__ENFILE SCR_NODE_UV__ERR(ENFILE)
|
|
232
|
+
#else
|
|
233
|
+
# define SCR_NODE_UV__ENFILE (-4061)
|
|
234
|
+
#endif
|
|
235
|
+
|
|
236
|
+
#if defined(ENOBUFS) && !defined(_WIN32)
|
|
237
|
+
# define SCR_NODE_UV__ENOBUFS SCR_NODE_UV__ERR(ENOBUFS)
|
|
238
|
+
#else
|
|
239
|
+
# define SCR_NODE_UV__ENOBUFS (-4060)
|
|
240
|
+
#endif
|
|
241
|
+
|
|
242
|
+
#if defined(ENODEV) && !defined(_WIN32)
|
|
243
|
+
# define SCR_NODE_UV__ENODEV SCR_NODE_UV__ERR(ENODEV)
|
|
244
|
+
#else
|
|
245
|
+
# define SCR_NODE_UV__ENODEV (-4059)
|
|
246
|
+
#endif
|
|
247
|
+
|
|
248
|
+
#if defined(ENOENT) && !defined(_WIN32)
|
|
249
|
+
# define SCR_NODE_UV__ENOENT SCR_NODE_UV__ERR(ENOENT)
|
|
250
|
+
#else
|
|
251
|
+
# define SCR_NODE_UV__ENOENT (-4058)
|
|
252
|
+
#endif
|
|
253
|
+
|
|
254
|
+
#if defined(ENOMEM) && !defined(_WIN32)
|
|
255
|
+
# define SCR_NODE_UV__ENOMEM SCR_NODE_UV__ERR(ENOMEM)
|
|
256
|
+
#else
|
|
257
|
+
# define SCR_NODE_UV__ENOMEM (-4057)
|
|
258
|
+
#endif
|
|
259
|
+
|
|
260
|
+
#if defined(ENONET) && !defined(_WIN32)
|
|
261
|
+
# define SCR_NODE_UV__ENONET SCR_NODE_UV__ERR(ENONET)
|
|
262
|
+
#else
|
|
263
|
+
# define SCR_NODE_UV__ENONET (-4056)
|
|
264
|
+
#endif
|
|
265
|
+
|
|
266
|
+
#if defined(ENOSPC) && !defined(_WIN32)
|
|
267
|
+
# define SCR_NODE_UV__ENOSPC SCR_NODE_UV__ERR(ENOSPC)
|
|
268
|
+
#else
|
|
269
|
+
# define SCR_NODE_UV__ENOSPC (-4055)
|
|
270
|
+
#endif
|
|
271
|
+
|
|
272
|
+
#if defined(ENOSYS) && !defined(_WIN32)
|
|
273
|
+
# define SCR_NODE_UV__ENOSYS SCR_NODE_UV__ERR(ENOSYS)
|
|
274
|
+
#else
|
|
275
|
+
# define SCR_NODE_UV__ENOSYS (-4054)
|
|
276
|
+
#endif
|
|
277
|
+
|
|
278
|
+
#if defined(ENOTCONN) && !defined(_WIN32)
|
|
279
|
+
# define SCR_NODE_UV__ENOTCONN SCR_NODE_UV__ERR(ENOTCONN)
|
|
280
|
+
#else
|
|
281
|
+
# define SCR_NODE_UV__ENOTCONN (-4053)
|
|
282
|
+
#endif
|
|
283
|
+
|
|
284
|
+
#if defined(ENOTDIR) && !defined(_WIN32)
|
|
285
|
+
# define SCR_NODE_UV__ENOTDIR SCR_NODE_UV__ERR(ENOTDIR)
|
|
286
|
+
#else
|
|
287
|
+
# define SCR_NODE_UV__ENOTDIR (-4052)
|
|
288
|
+
#endif
|
|
289
|
+
|
|
290
|
+
#if defined(ENOTEMPTY) && !defined(_WIN32)
|
|
291
|
+
# define SCR_NODE_UV__ENOTEMPTY SCR_NODE_UV__ERR(ENOTEMPTY)
|
|
292
|
+
#else
|
|
293
|
+
# define SCR_NODE_UV__ENOTEMPTY (-4051)
|
|
294
|
+
#endif
|
|
295
|
+
|
|
296
|
+
#if defined(ENOTSOCK) && !defined(_WIN32)
|
|
297
|
+
# define SCR_NODE_UV__ENOTSOCK SCR_NODE_UV__ERR(ENOTSOCK)
|
|
298
|
+
#else
|
|
299
|
+
# define SCR_NODE_UV__ENOTSOCK (-4050)
|
|
300
|
+
#endif
|
|
301
|
+
|
|
302
|
+
#if defined(ENOTSUP) && !defined(_WIN32)
|
|
303
|
+
# define SCR_NODE_UV__ENOTSUP SCR_NODE_UV__ERR(ENOTSUP)
|
|
304
|
+
#else
|
|
305
|
+
# define SCR_NODE_UV__ENOTSUP (-4049)
|
|
306
|
+
#endif
|
|
307
|
+
|
|
308
|
+
#if defined(EPERM) && !defined(_WIN32)
|
|
309
|
+
# define SCR_NODE_UV__EPERM SCR_NODE_UV__ERR(EPERM)
|
|
310
|
+
#else
|
|
311
|
+
# define SCR_NODE_UV__EPERM (-4048)
|
|
312
|
+
#endif
|
|
313
|
+
|
|
314
|
+
#if defined(EPIPE) && !defined(_WIN32)
|
|
315
|
+
# define SCR_NODE_UV__EPIPE SCR_NODE_UV__ERR(EPIPE)
|
|
316
|
+
#else
|
|
317
|
+
# define SCR_NODE_UV__EPIPE (-4047)
|
|
318
|
+
#endif
|
|
319
|
+
|
|
320
|
+
#if defined(EPROTO) && !defined(_WIN32)
|
|
321
|
+
# define SCR_NODE_UV__EPROTO SCR_NODE_UV__ERR(EPROTO)
|
|
322
|
+
#else
|
|
323
|
+
# define SCR_NODE_UV__EPROTO (-4046)
|
|
324
|
+
#endif
|
|
325
|
+
|
|
326
|
+
#if defined(EPROTONOSUPPORT) && !defined(_WIN32)
|
|
327
|
+
# define SCR_NODE_UV__EPROTONOSUPPORT SCR_NODE_UV__ERR(EPROTONOSUPPORT)
|
|
328
|
+
#else
|
|
329
|
+
# define SCR_NODE_UV__EPROTONOSUPPORT (-4045)
|
|
330
|
+
#endif
|
|
331
|
+
|
|
332
|
+
#if defined(EPROTOTYPE) && !defined(_WIN32)
|
|
333
|
+
# define SCR_NODE_UV__EPROTOTYPE SCR_NODE_UV__ERR(EPROTOTYPE)
|
|
334
|
+
#else
|
|
335
|
+
# define SCR_NODE_UV__EPROTOTYPE (-4044)
|
|
336
|
+
#endif
|
|
337
|
+
|
|
338
|
+
#if defined(EROFS) && !defined(_WIN32)
|
|
339
|
+
# define SCR_NODE_UV__EROFS SCR_NODE_UV__ERR(EROFS)
|
|
340
|
+
#else
|
|
341
|
+
# define SCR_NODE_UV__EROFS (-4043)
|
|
342
|
+
#endif
|
|
343
|
+
|
|
344
|
+
#if defined(ESHUTDOWN) && !defined(_WIN32)
|
|
345
|
+
# define SCR_NODE_UV__ESHUTDOWN SCR_NODE_UV__ERR(ESHUTDOWN)
|
|
346
|
+
#else
|
|
347
|
+
# define SCR_NODE_UV__ESHUTDOWN (-4042)
|
|
348
|
+
#endif
|
|
349
|
+
|
|
350
|
+
#if defined(ESPIPE) && !defined(_WIN32)
|
|
351
|
+
# define SCR_NODE_UV__ESPIPE SCR_NODE_UV__ERR(ESPIPE)
|
|
352
|
+
#else
|
|
353
|
+
# define SCR_NODE_UV__ESPIPE (-4041)
|
|
354
|
+
#endif
|
|
355
|
+
|
|
356
|
+
#if defined(ESRCH) && !defined(_WIN32)
|
|
357
|
+
# define SCR_NODE_UV__ESRCH SCR_NODE_UV__ERR(ESRCH)
|
|
358
|
+
#else
|
|
359
|
+
# define SCR_NODE_UV__ESRCH (-4040)
|
|
360
|
+
#endif
|
|
361
|
+
|
|
362
|
+
#if defined(ETIMEDOUT) && !defined(_WIN32)
|
|
363
|
+
# define SCR_NODE_UV__ETIMEDOUT SCR_NODE_UV__ERR(ETIMEDOUT)
|
|
364
|
+
#else
|
|
365
|
+
# define SCR_NODE_UV__ETIMEDOUT (-4039)
|
|
366
|
+
#endif
|
|
367
|
+
|
|
368
|
+
#if defined(ETXTBSY) && !defined(_WIN32)
|
|
369
|
+
# define SCR_NODE_UV__ETXTBSY SCR_NODE_UV__ERR(ETXTBSY)
|
|
370
|
+
#else
|
|
371
|
+
# define SCR_NODE_UV__ETXTBSY (-4038)
|
|
372
|
+
#endif
|
|
373
|
+
|
|
374
|
+
#if defined(EXDEV) && !defined(_WIN32)
|
|
375
|
+
# define SCR_NODE_UV__EXDEV SCR_NODE_UV__ERR(EXDEV)
|
|
376
|
+
#else
|
|
377
|
+
# define SCR_NODE_UV__EXDEV (-4037)
|
|
378
|
+
#endif
|
|
379
|
+
|
|
380
|
+
#if defined(EFBIG) && !defined(_WIN32)
|
|
381
|
+
# define SCR_NODE_UV__EFBIG SCR_NODE_UV__ERR(EFBIG)
|
|
382
|
+
#else
|
|
383
|
+
# define SCR_NODE_UV__EFBIG (-4036)
|
|
384
|
+
#endif
|
|
385
|
+
|
|
386
|
+
#if defined(ENOPROTOOPT) && !defined(_WIN32)
|
|
387
|
+
# define SCR_NODE_UV__ENOPROTOOPT SCR_NODE_UV__ERR(ENOPROTOOPT)
|
|
388
|
+
#else
|
|
389
|
+
# define SCR_NODE_UV__ENOPROTOOPT (-4035)
|
|
390
|
+
#endif
|
|
391
|
+
|
|
392
|
+
#if defined(ERANGE) && !defined(_WIN32)
|
|
393
|
+
# define SCR_NODE_UV__ERANGE SCR_NODE_UV__ERR(ERANGE)
|
|
394
|
+
#else
|
|
395
|
+
# define SCR_NODE_UV__ERANGE (-4034)
|
|
396
|
+
#endif
|
|
397
|
+
|
|
398
|
+
#if defined(ENXIO) && !defined(_WIN32)
|
|
399
|
+
# define SCR_NODE_UV__ENXIO SCR_NODE_UV__ERR(ENXIO)
|
|
400
|
+
#else
|
|
401
|
+
# define SCR_NODE_UV__ENXIO (-4033)
|
|
402
|
+
#endif
|
|
403
|
+
|
|
404
|
+
#if defined(EMLINK) && !defined(_WIN32)
|
|
405
|
+
# define SCR_NODE_UV__EMLINK SCR_NODE_UV__ERR(EMLINK)
|
|
406
|
+
#else
|
|
407
|
+
# define SCR_NODE_UV__EMLINK (-4032)
|
|
408
|
+
#endif
|
|
409
|
+
|
|
410
|
+
/* EHOSTDOWN is not visible on BSD-like systems when _POSIX_C_SOURCE is
|
|
411
|
+
* defined. Fortunately, its value is always 64 so it's possible albeit
|
|
412
|
+
* icky to hard-code it.
|
|
413
|
+
*/
|
|
414
|
+
#if defined(EHOSTDOWN) && !defined(_WIN32)
|
|
415
|
+
# define SCR_NODE_UV__EHOSTDOWN SCR_NODE_UV__ERR(EHOSTDOWN)
|
|
416
|
+
#elif defined(__APPLE__) || \
|
|
417
|
+
defined(__DragonFly__) || \
|
|
418
|
+
defined(__FreeBSD__) || \
|
|
419
|
+
defined(__NetBSD__) || \
|
|
420
|
+
defined(__OpenBSD__)
|
|
421
|
+
# define SCR_NODE_UV__EHOSTDOWN (-64)
|
|
422
|
+
#else
|
|
423
|
+
# define SCR_NODE_UV__EHOSTDOWN (-4031)
|
|
424
|
+
#endif
|
|
425
|
+
|
|
426
|
+
#if defined(EREMOTEIO) && !defined(_WIN32)
|
|
427
|
+
# define SCR_NODE_UV__EREMOTEIO SCR_NODE_UV__ERR(EREMOTEIO)
|
|
428
|
+
#else
|
|
429
|
+
# define SCR_NODE_UV__EREMOTEIO (-4030)
|
|
430
|
+
#endif
|
|
431
|
+
|
|
432
|
+
#if defined(ENOTTY) && !defined(_WIN32)
|
|
433
|
+
# define SCR_NODE_UV__ENOTTY SCR_NODE_UV__ERR(ENOTTY)
|
|
434
|
+
#else
|
|
435
|
+
# define SCR_NODE_UV__ENOTTY (-4029)
|
|
436
|
+
#endif
|
|
437
|
+
|
|
438
|
+
#if defined(EFTYPE) && !defined(_WIN32)
|
|
439
|
+
# define SCR_NODE_UV__EFTYPE SCR_NODE_UV__ERR(EFTYPE)
|
|
440
|
+
#else
|
|
441
|
+
# define SCR_NODE_UV__EFTYPE (-4028)
|
|
442
|
+
#endif
|
|
443
|
+
|
|
444
|
+
#if defined(EILSEQ) && !defined(_WIN32)
|
|
445
|
+
# define SCR_NODE_UV__EILSEQ SCR_NODE_UV__ERR(EILSEQ)
|
|
446
|
+
#else
|
|
447
|
+
# define SCR_NODE_UV__EILSEQ (-4027)
|
|
448
|
+
#endif
|
|
449
|
+
|
|
450
|
+
#if defined(EOVERFLOW) && !defined(_WIN32)
|
|
451
|
+
# define SCR_NODE_UV__EOVERFLOW SCR_NODE_UV__ERR(EOVERFLOW)
|
|
452
|
+
#else
|
|
453
|
+
# define SCR_NODE_UV__EOVERFLOW (-4026)
|
|
454
|
+
#endif
|
|
455
|
+
|
|
456
|
+
#if defined(ESOCKTNOSUPPORT) && !defined(_WIN32)
|
|
457
|
+
# define SCR_NODE_UV__ESOCKTNOSUPPORT SCR_NODE_UV__ERR(ESOCKTNOSUPPORT)
|
|
458
|
+
#else
|
|
459
|
+
# define SCR_NODE_UV__ESOCKTNOSUPPORT (-4025)
|
|
460
|
+
#endif
|
|
461
|
+
|
|
462
|
+
/* FreeBSD defines ENODATA in /usr/include/c++/v1/errno.h which is only visible
|
|
463
|
+
* if C++ is being used. Define it directly to avoid problems when integrating
|
|
464
|
+
* libuv in a C++ project.
|
|
465
|
+
*/
|
|
466
|
+
#if defined(ENODATA) && !defined(_WIN32)
|
|
467
|
+
# define SCR_NODE_UV__ENODATA SCR_NODE_UV__ERR(ENODATA)
|
|
468
|
+
#elif defined(__FreeBSD__)
|
|
469
|
+
# define SCR_NODE_UV__ENODATA (-9919)
|
|
470
|
+
#else
|
|
471
|
+
# define SCR_NODE_UV__ENODATA (-4024)
|
|
472
|
+
#endif
|
|
473
|
+
|
|
474
|
+
#if defined(EUNATCH) && !defined(_WIN32)
|
|
475
|
+
# define SCR_NODE_UV__EUNATCH SCR_NODE_UV__ERR(EUNATCH)
|
|
476
|
+
#else
|
|
477
|
+
# define SCR_NODE_UV__EUNATCH (-4023)
|
|
478
|
+
#endif
|
|
479
|
+
|
|
480
|
+
#if defined(ENOEXEC) && !defined(_WIN32)
|
|
481
|
+
# define SCR_NODE_UV__ENOEXEC SCR_NODE_UV__ERR(ENOEXEC)
|
|
482
|
+
#else
|
|
483
|
+
# define SCR_NODE_UV__ENOEXEC (-4022)
|
|
484
|
+
#endif
|
|
485
|
+
|
|
486
|
+
#define SCR_NODE_UV_ERRNO_MAP(XX) \
|
|
487
|
+
XX(E2BIG, "argument list too long") \
|
|
488
|
+
XX(EACCES, "permission denied") \
|
|
489
|
+
XX(EADDRINUSE, "address already in use") \
|
|
490
|
+
XX(EADDRNOTAVAIL, "address not available") \
|
|
491
|
+
XX(EAFNOSUPPORT, "address family not supported") \
|
|
492
|
+
XX(EAGAIN, "resource temporarily unavailable") \
|
|
493
|
+
XX(EAI_ADDRFAMILY, "address family not supported") \
|
|
494
|
+
XX(EAI_AGAIN, "temporary failure") \
|
|
495
|
+
XX(EAI_BADFLAGS, "bad ai_flags value") \
|
|
496
|
+
XX(EAI_BADHINTS, "invalid value for hints") \
|
|
497
|
+
XX(EAI_CANCELED, "request canceled") \
|
|
498
|
+
XX(EAI_FAIL, "permanent failure") \
|
|
499
|
+
XX(EAI_FAMILY, "ai_family not supported") \
|
|
500
|
+
XX(EAI_MEMORY, "out of memory") \
|
|
501
|
+
XX(EAI_NODATA, "no address") \
|
|
502
|
+
XX(EAI_NONAME, "unknown node or service") \
|
|
503
|
+
XX(EAI_OVERFLOW, "argument buffer overflow") \
|
|
504
|
+
XX(EAI_PROTOCOL, "resolved protocol is unknown") \
|
|
505
|
+
XX(EAI_SERVICE, "service not available for socket type") \
|
|
506
|
+
XX(EAI_SOCKTYPE, "socket type not supported") \
|
|
507
|
+
XX(EALREADY, "connection already in progress") \
|
|
508
|
+
XX(EBADF, "bad file descriptor") \
|
|
509
|
+
XX(EBUSY, "resource busy or locked") \
|
|
510
|
+
XX(ECANCELED, "operation canceled") \
|
|
511
|
+
XX(ECHARSET, "invalid Unicode character") \
|
|
512
|
+
XX(ECONNABORTED, "software caused connection abort") \
|
|
513
|
+
XX(ECONNREFUSED, "connection refused") \
|
|
514
|
+
XX(ECONNRESET, "connection reset by peer") \
|
|
515
|
+
XX(EDESTADDRREQ, "destination address required") \
|
|
516
|
+
XX(EEXIST, "file already exists") \
|
|
517
|
+
XX(EFAULT, "bad address in system call argument") \
|
|
518
|
+
XX(EFBIG, "file too large") \
|
|
519
|
+
XX(EHOSTUNREACH, "host is unreachable") \
|
|
520
|
+
XX(EINTR, "interrupted system call") \
|
|
521
|
+
XX(EINVAL, "invalid argument") \
|
|
522
|
+
XX(EIO, "i/o error") \
|
|
523
|
+
XX(EISCONN, "socket is already connected") \
|
|
524
|
+
XX(EISDIR, "illegal operation on a directory") \
|
|
525
|
+
XX(ELOOP, "too many symbolic links encountered") \
|
|
526
|
+
XX(EMFILE, "too many open files") \
|
|
527
|
+
XX(EMSGSIZE, "message too long") \
|
|
528
|
+
XX(ENAMETOOLONG, "name too long") \
|
|
529
|
+
XX(ENETDOWN, "network is down") \
|
|
530
|
+
XX(ENETUNREACH, "network is unreachable") \
|
|
531
|
+
XX(ENFILE, "file table overflow") \
|
|
532
|
+
XX(ENOBUFS, "no buffer space available") \
|
|
533
|
+
XX(ENODEV, "no such device") \
|
|
534
|
+
XX(ENOENT, "no such file or directory") \
|
|
535
|
+
XX(ENOMEM, "not enough memory") \
|
|
536
|
+
XX(ENONET, "machine is not on the network") \
|
|
537
|
+
XX(ENOPROTOOPT, "protocol not available") \
|
|
538
|
+
XX(ENOSPC, "no space left on device") \
|
|
539
|
+
XX(ENOSYS, "function not implemented") \
|
|
540
|
+
XX(ENOTCONN, "socket is not connected") \
|
|
541
|
+
XX(ENOTDIR, "not a directory") \
|
|
542
|
+
XX(ENOTEMPTY, "directory not empty") \
|
|
543
|
+
XX(ENOTSOCK, "socket operation on non-socket") \
|
|
544
|
+
XX(ENOTSUP, "operation not supported on socket") \
|
|
545
|
+
XX(EOVERFLOW, "value too large for defined data type") \
|
|
546
|
+
XX(EPERM, "operation not permitted") \
|
|
547
|
+
XX(EPIPE, "broken pipe") \
|
|
548
|
+
XX(EPROTO, "protocol error") \
|
|
549
|
+
XX(EPROTONOSUPPORT, "protocol not supported") \
|
|
550
|
+
XX(EPROTOTYPE, "protocol wrong type for socket") \
|
|
551
|
+
XX(ERANGE, "result too large") \
|
|
552
|
+
XX(EROFS, "read-only file system") \
|
|
553
|
+
XX(ESHUTDOWN, "cannot send after transport endpoint shutdown") \
|
|
554
|
+
XX(ESPIPE, "invalid seek") \
|
|
555
|
+
XX(ESRCH, "no such process") \
|
|
556
|
+
XX(ETIMEDOUT, "connection timed out") \
|
|
557
|
+
XX(ETXTBSY, "text file is busy") \
|
|
558
|
+
XX(EXDEV, "cross-device link not permitted") \
|
|
559
|
+
XX(UNKNOWN, "unknown error") \
|
|
560
|
+
XX(EOF, "end of file") \
|
|
561
|
+
XX(ENXIO, "no such device or address") \
|
|
562
|
+
XX(EMLINK, "too many links") \
|
|
563
|
+
XX(EHOSTDOWN, "host is down") \
|
|
564
|
+
XX(EREMOTEIO, "remote I/O error") \
|
|
565
|
+
XX(ENOTTY, "inappropriate ioctl for device") \
|
|
566
|
+
XX(EFTYPE, "inappropriate file type or format") \
|
|
567
|
+
XX(EILSEQ, "illegal byte sequence") \
|
|
568
|
+
XX(ESOCKTNOSUPPORT, "socket type not supported") \
|
|
569
|
+
XX(ENODATA, "no data available") \
|
|
570
|
+
XX(EUNATCH, "protocol driver not attached") \
|
|
571
|
+
XX(ENOEXEC, "exec format error") \
|
|
572
|
+
|
|
573
|
+
#endif /* SCR_NODE_UV_ERRNO_H_ */
|