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

Add ENFILE.

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

View file

@ -71,6 +71,7 @@
#define ENOPROTOOPT 79
#define ENOTCONN 80
#define EDEADLK 81
#define ENFILE 82
#define EOPNOTSUPP ENOTSUP

View file

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