Add ENOLOCK.
This commit is contained in:
parent
1a67e969c3
commit
3c94199720
|
@ -73,6 +73,7 @@
|
||||||
#define EDEADLK 81
|
#define EDEADLK 81
|
||||||
#define ENFILE 82
|
#define ENFILE 82
|
||||||
#define EPROTOTYPE 83
|
#define EPROTOTYPE 83
|
||||||
|
#define ENOLCK 84
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -102,6 +102,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case EDEADLK: return "Resource deadlock avoided";
|
case EDEADLK: return "Resource deadlock avoided";
|
||||||
case ENFILE: return "Too many open files in system";
|
case ENFILE: return "Too many open files in system";
|
||||||
case EPROTOTYPE: return "Wrong protocol type for socket";
|
case EPROTOTYPE: return "Wrong protocol type for socket";
|
||||||
|
case ENOLCK: return "No locks available";
|
||||||
default: return "Unknown error condition";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue