Add ESHUTDOWN.
This commit is contained in:
parent
7f1a542f7b
commit
74a3081d5b
|
@ -54,6 +54,7 @@
|
||||||
#define EDOM 62
|
#define EDOM 62
|
||||||
#define EINPROGRESS 63
|
#define EINPROGRESS 63
|
||||||
#define EALREADY 64
|
#define EALREADY 64
|
||||||
|
#define ESHUTDOWN 65
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -83,6 +83,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case EDOM: return "Mathematics argument out of domain of function";
|
case EDOM: return "Mathematics argument out of domain of function";
|
||||||
case EINPROGRESS: return "Operation in progress";
|
case EINPROGRESS: return "Operation in progress";
|
||||||
case EALREADY: return "Connection already in progress";
|
case EALREADY: return "Connection already in progress";
|
||||||
|
case ESHUTDOWN: return "Cannot send after transport endpoint shutdown";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue