Add EAFNOSUPPORT.
This commit is contained in:
parent
c7d833686a
commit
8a72874548
|
@ -46,6 +46,7 @@
|
||||||
#define EMLINK 54
|
#define EMLINK 54
|
||||||
#define ENXIO 55
|
#define ENXIO 55
|
||||||
#define EPROTONOSUPPORT 56
|
#define EPROTONOSUPPORT 56
|
||||||
|
#define EAFNOSUPPORT 57
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -75,6 +75,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case EMLINK: return "Too many links";
|
case EMLINK: return "Too many links";
|
||||||
case ENXIO: return "No such device or address";
|
case ENXIO: return "No such device or address";
|
||||||
case EPROTONOSUPPORT: return "Protocol not supported";
|
case EPROTONOSUPPORT: return "Protocol not supported";
|
||||||
|
case EAFNOSUPPORT: return "Address family not supported";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue