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

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