parent
fd77a5d6c6
commit
295882ed32
@ -135,6 +135,7 @@ extern "C" {
|
||||
XX( 62, ETXTBSY, "text file is busy") \
|
||||
XX( 63, ERANGE, "result too large") \
|
||||
XX( 64, ENXIO, "no such device or address") \
|
||||
XX( 65, EMLINK, "too many links") \
|
||||
|
||||
|
||||
#define UV_ERRNO_GEN(val, name, s) UV_##name = val,
|
||||
|
||||
@ -109,6 +109,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
|
||||
case ETXTBSY: return UV_ETXTBSY;
|
||||
case ERANGE: return UV_ERANGE;
|
||||
case ENXIO: return UV_ENXIO;
|
||||
case EMLINK: return UV_EMLINK;
|
||||
default: return UV_UNKNOWN;
|
||||
}
|
||||
UNREACHABLE();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user