mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add ECONNABORTED.
This commit is contained in:
parent
74a3081d5b
commit
9e04af42a9
2 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,7 @@
|
||||||
#define EINPROGRESS 63
|
#define EINPROGRESS 63
|
||||||
#define EALREADY 64
|
#define EALREADY 64
|
||||||
#define ESHUTDOWN 65
|
#define ESHUTDOWN 65
|
||||||
|
#define ECONNABORTED 66
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -84,6 +84,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
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";
|
case ESHUTDOWN: return "Cannot send after transport endpoint shutdown";
|
||||||
|
case ECONNABORTED: return "Connection aborted";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue