1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Add ENOTCONN.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-04-21 23:17:28 +02:00
parent d28a85bd87
commit 9f3cb1cf56
2 changed files with 2 additions and 0 deletions

View file

@ -69,6 +69,7 @@
#define ENOBUFS 77
#define ENOMSG 78
#define ENOPROTOOPT 79
#define ENOTCONN 80
#define EOPNOTSUPP ENOTSUP

View file

@ -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";
}
}