1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Add EDOM.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-03-23 01:35:17 +01:00
parent 17f51aca20
commit 552ecf521e
2 changed files with 2 additions and 0 deletions

View file

@ -51,6 +51,7 @@
#define EADDRINUSE 59
#define ETIMEDOUT 60
#define ECONNREFUSED 61
#define EDOM 62
#define EOPNOTSUPP ENOTSUP

View file

@ -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";
}
}