mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add EDEADLK.
This commit is contained in:
parent
9f3cb1cf56
commit
d16d327f32
2 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,7 @@
|
|||
#define ENOMSG 78
|
||||
#define ENOPROTOOPT 79
|
||||
#define ENOTCONN 80
|
||||
#define EDEADLK 81
|
||||
|
||||
#define EOPNOTSUPP ENOTSUP
|
||||
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue