mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add ENOMSG.
This commit is contained in:
parent
1b116d5cd4
commit
369253450a
2 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,7 @@
|
|||
#define ENETRESET 75
|
||||
#define ENETUNREACH 76
|
||||
#define ENOBUFS 77
|
||||
#define ENOMSG 78
|
||||
|
||||
#define EOPNOTSUPP ENOTSUP
|
||||
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue