mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add EINPROGRESS.
This commit is contained in:
parent
552ecf521e
commit
cf9719526e
2 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,7 @@
|
|||
#define ETIMEDOUT 60
|
||||
#define ECONNREFUSED 61
|
||||
#define EDOM 62
|
||||
#define EINPROGRESS 63
|
||||
|
||||
#define EOPNOTSUPP ENOTSUP
|
||||
|
||||
|
|
|
@ -81,6 +81,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
|||
case ETIMEDOUT: return "Connection timed out";
|
||||
case ECONNREFUSED: return "Connection refused";
|
||||
case EDOM: return "Mathematics argument out of domain of function";
|
||||
case EINPROGRESS: return "Operation in progress";
|
||||
default: return "Unknown error condition";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue