Add EALREADY.
This commit is contained in:
parent
e60b8d15a5
commit
7f1a542f7b
|
@ -53,6 +53,7 @@
|
||||||
#define ECONNREFUSED 61
|
#define ECONNREFUSED 61
|
||||||
#define EDOM 62
|
#define EDOM 62
|
||||||
#define EINPROGRESS 63
|
#define EINPROGRESS 63
|
||||||
|
#define EALREADY 64
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -82,6 +82,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case ECONNREFUSED: return "Connection refused";
|
case ECONNREFUSED: return "Connection refused";
|
||||||
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";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue