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

Add ENOMSG.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-04-21 23:16:07 +02:00
parent 1b116d5cd4
commit 369253450a
2 changed files with 2 additions and 0 deletions

View file

@ -67,6 +67,7 @@
#define ENETRESET 75
#define ENETUNREACH 76
#define ENOBUFS 77
#define ENOMSG 78
#define EOPNOTSUPP ENOTSUP

View file

@ -96,6 +96,7 @@ extern "C" const char* sortix_strerror(int errnum)
case ENETRESET: return "Connection aborted by network";
case ENETUNREACH: return "Network is unreachable";
case ENOBUFS: return "No buffer space available";
case ENOMSG: return "No message of the desired type";
default: return "Unknown error condition";
}
}