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