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

Add ENETUNREACH.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-04-21 23:14:30 +02:00
parent c8a73cdd40
commit 1e89d641d4
2 changed files with 2 additions and 0 deletions

View file

@ -65,6 +65,7 @@
#define EMSGSIZE 73
#define ENETDOWN 74
#define ENETRESET 75
#define ENETUNREACH 76
#define EOPNOTSUPP ENOTSUP

View file

@ -94,6 +94,7 @@ extern "C" const char* sortix_strerror(int errnum)
case EMSGSIZE: return "Message too long";
case ENETDOWN: return "Network is down";
case ENETRESET: return "Connection aborted by network";
case ENETUNREACH: return "Network is unreachable";
default: return "Unknown error condition";
}
}