Add ENOBUFS.

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

View File

@ -66,6 +66,7 @@
#define ENETDOWN 74
#define ENETRESET 75
#define ENETUNREACH 76
#define ENOBUFS 77
#define EOPNOTSUPP ENOTSUP

View File

@ -95,6 +95,7 @@ extern "C" const char* sortix_strerror(int errnum)
case ENETDOWN: return "Network is down";
case ENETRESET: return "Connection aborted by network";
case ENETUNREACH: return "Network is unreachable";
case ENOBUFS: return "No buffer space available";
default: return "Unknown error condition";
}
}