Showing with 2 additions and 0 deletions.
  1. +1 −0 include/uv.h
  2. +1 −0 src/unix/error.c
@@ -134,6 +134,7 @@ extern "C" {
XX( 61, ENOPROTOOPT, "protocol not available") \
XX( 62, ETXTBSY, "text file is busy") \
XX( 63, ERANGE, "result too large") \
XX( 64, ENXIO, "no such device or address") \


#define UV_ERRNO_GEN(val, name, s) UV_##name = val,
@@ -108,6 +108,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
case ENOPROTOOPT: return UV_ENOPROTOOPT;
case ETXTBSY: return UV_ETXTBSY;
case ERANGE: return UV_ERANGE;
case ENXIO: return UV_ENXIO;
default: return UV_UNKNOWN;
}
UNREACHABLE();