Add EDESTADDRREQ.
This commit is contained in:
parent
1adef1d0e2
commit
fd6b3cce91
|
@ -60,6 +60,7 @@
|
||||||
#define EADDRNOTAVAIL 68
|
#define EADDRNOTAVAIL 68
|
||||||
#define EISCONN 69
|
#define EISCONN 69
|
||||||
#define EFAULT 70
|
#define EFAULT 70
|
||||||
|
#define EDESTADDRREQ 71
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -89,6 +89,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case EADDRNOTAVAIL: return "Address not available";
|
case EADDRNOTAVAIL: return "Address not available";
|
||||||
case EISCONN: return "Socket is connected";
|
case EISCONN: return "Socket is connected";
|
||||||
case EFAULT: return "Bad address";
|
case EFAULT: return "Bad address";
|
||||||
|
case EDESTADDRREQ: return "Destinatiohn address required";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue