mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add ENFILE.
This commit is contained in:
parent
d16d327f32
commit
ad19a88473
2 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,7 @@
|
|||
#define ENOPROTOOPT 79
|
||||
#define ENOTCONN 80
|
||||
#define EDEADLK 81
|
||||
#define ENFILE 82
|
||||
|
||||
#define EOPNOTSUPP ENOTSUP
|
||||
|
||||
|
|
|
@ -100,6 +100,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
|||
case ENOPROTOOPT: return "Protocol not available";
|
||||
case ENOTCONN: return "Socket is not connected";
|
||||
case EDEADLK: return "Resource deadlock avoided";
|
||||
case ENFILE: return "Too many open files in system";
|
||||
default: return "Unknown error condition";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue