Add ESHUTDOWN.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-03-23 23:02:25 +01:00
parent 7f1a542f7b
commit 74a3081d5b
2 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@
#define EDOM 62
#define EINPROGRESS 63
#define EALREADY 64
#define ESHUTDOWN 65
#define EOPNOTSUPP ENOTSUP

View File

@ -83,6 +83,7 @@ extern "C" const char* sortix_strerror(int errnum)
case EDOM: return "Mathematics argument out of domain of function";
case EINPROGRESS: return "Operation in progress";
case EALREADY: return "Connection already in progress";
case ESHUTDOWN: return "Cannot send after transport endpoint shutdown";
default: return "Unknown error condition";
}
}