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

Add EMSGSIZE.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-04-21 23:12:04 +02:00
parent 62734a008b
commit db02cd569b
2 changed files with 2 additions and 0 deletions

View file

@ -62,6 +62,7 @@
#define EFAULT 70 #define EFAULT 70
#define EDESTADDRREQ 71 #define EDESTADDRREQ 71
#define EHOSTUNREACH 72 #define EHOSTUNREACH 72
#define EMSGSIZE 73
#define EOPNOTSUPP ENOTSUP #define EOPNOTSUPP ENOTSUP

View file

@ -91,6 +91,7 @@ extern "C" const char* sortix_strerror(int errnum)
case EFAULT: return "Bad address"; case EFAULT: return "Bad address";
case EDESTADDRREQ: return "Destinatiohn address required"; case EDESTADDRREQ: return "Destinatiohn address required";
case EHOSTUNREACH: return "Host is unreachable"; case EHOSTUNREACH: return "Host is unreachable";
case EMSGSIZE: return "Message too long";
default: return "Unknown error condition"; default: return "Unknown error condition";
} }
} }