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 ECONNREFUSED 61
#define EDOM 62
#define EINPROGRESS 63
#define EOPNOTSUPP ENOTSUP

View File

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