Add ENETRESET.
This commit is contained in:
parent
670f612e12
commit
c8a73cdd40
|
@ -64,6 +64,7 @@
|
||||||
#define EHOSTUNREACH 72
|
#define EHOSTUNREACH 72
|
||||||
#define EMSGSIZE 73
|
#define EMSGSIZE 73
|
||||||
#define ENETDOWN 74
|
#define ENETDOWN 74
|
||||||
|
#define ENETRESET 75
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -93,6 +93,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case EHOSTUNREACH: return "Host is unreachable";
|
case EHOSTUNREACH: return "Host is unreachable";
|
||||||
case EMSGSIZE: return "Message too long";
|
case EMSGSIZE: return "Message too long";
|
||||||
case ENETDOWN: return "Network is down";
|
case ENETDOWN: return "Network is down";
|
||||||
|
case ENETRESET: return "Connection aborted by network";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue