Add EDEADLK.

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

View File

@ -70,6 +70,7 @@
#define ENOMSG 78
#define ENOPROTOOPT 79
#define ENOTCONN 80
#define EDEADLK 81
#define EOPNOTSUPP ENOTSUP

View File

@ -99,6 +99,7 @@ extern "C" const char* sortix_strerror(int errnum)
case ENOMSG: return "No message of the desired type";
case ENOPROTOOPT: return "Protocol not available";
case ENOTCONN: return "Socket is not connected";
case EDEADLK: return "Resource deadlock avoided";
default: return "Unknown error condition";
}
}