mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add ENOPROTOOPT.
This commit is contained in:
parent
369253450a
commit
d28a85bd87
2 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,7 @@
|
|||
#define ENETUNREACH 76
|
||||
#define ENOBUFS 77
|
||||
#define ENOMSG 78
|
||||
#define ENOPROTOOPT 79
|
||||
|
||||
#define EOPNOTSUPP ENOTSUP
|
||||
|
||||
|
|
|
@ -97,6 +97,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
|||
case ENETUNREACH: return "Network is unreachable";
|
||||
case ENOBUFS: return "No buffer space available";
|
||||
case ENOMSG: return "No message of the desired type";
|
||||
case ENOPROTOOPT: return "Protocol not available";
|
||||
default: return "Unknown error condition";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue