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

Add EINPROGRESS.

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

View file

@ -52,6 +52,7 @@
#define ETIMEDOUT 60 #define ETIMEDOUT 60
#define ECONNREFUSED 61 #define ECONNREFUSED 61
#define EDOM 62 #define EDOM 62
#define EINPROGRESS 63
#define EOPNOTSUPP ENOTSUP #define EOPNOTSUPP ENOTSUP

View file

@ -81,6 +81,7 @@ extern "C" const char* sortix_strerror(int errnum)
case ETIMEDOUT: return "Connection timed out"; case ETIMEDOUT: return "Connection timed out";
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";
default: return "Unknown error condition"; default: return "Unknown error condition";
} }
} }