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