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