mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add EISCONN.
This commit is contained in:
parent
8427ee7a0f
commit
4eb06d9063
2 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,7 @@
|
|||
#define ECONNABORTED 66
|
||||
#define ECONNRESET 67
|
||||
#define EADDRNOTAVAIL 68
|
||||
#define EISCONN 69
|
||||
|
||||
#define EOPNOTSUPP ENOTSUP
|
||||
|
||||
|
|
|
@ -87,6 +87,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
|||
case ECONNABORTED: return "Connection aborted";
|
||||
case ECONNRESET: return "Connection reset";
|
||||
case EADDRNOTAVAIL: return "Address not available";
|
||||
case EISCONN: return "Socket is connected";
|
||||
default: return "Unknown error condition";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue