Add ENOPROTOOPT.
This commit is contained in:
parent
369253450a
commit
d28a85bd87
|
@ -68,6 +68,7 @@
|
||||||
#define ENETUNREACH 76
|
#define ENETUNREACH 76
|
||||||
#define ENOBUFS 77
|
#define ENOBUFS 77
|
||||||
#define ENOMSG 78
|
#define ENOMSG 78
|
||||||
|
#define ENOPROTOOPT 79
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -97,6 +97,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case ENETUNREACH: return "Network is unreachable";
|
case ENETUNREACH: return "Network is unreachable";
|
||||||
case ENOBUFS: return "No buffer space available";
|
case ENOBUFS: return "No buffer space available";
|
||||||
case ENOMSG: return "No message of the desired type";
|
case ENOMSG: return "No message of the desired type";
|
||||||
|
case ENOPROTOOPT: return "Protocol not available";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue