#define EPFNOSUPPORT 43 /* Protocol not supported */
#define EOPNOTSUPP 44 /* Operation not supported on transport
endpoint */
+#define ECONNRESET 45 /* Connection reset by peer */
+
/*
* ioctls for kernel internal operations start at 0x8000 and cannot be issued
* by userspace.
#define ENOSYS 42 /* No such system call */
#define EPFNOSUPPORT 43 /* Protocol not supported */
#define EOPNOTSUPP 43 /* Operation not supported on transport endpoint */
-
-#define __ERRORS 44
+#define ECONNRESET 44 /* Connection reset by peer */
+#define __ERRORS 45
extern int sys_nerr;
extern char *sys_errlist[];
#include <string.h>
#include <unistd.h>
-#define ERRORS 44
-const char *err[44] = {
+#define ERRORS 45
+const char *err[45] = {
"Success",
"Operation not permitted",
"No such file or directory",
"Address not available",
"Invalid system call number",
"Protocol family not supported",
- "Operation not supported on transport endpoint"
+ "Operation not supported on transport endpoint",
+ "Connection reset by peer"
};
static uint8_t buf[16384];