LibC: add ENOBUFS errno
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#define EEXISTS 9
|
||||
#define ENOTEMPTY 10
|
||||
#define ENAMETOOLONG 11
|
||||
#define ENOBUFS 12
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
|
||||
@@ -43,6 +43,9 @@ char* strerror(int error)
|
||||
case ENAMETOOLONG:
|
||||
strcpy(buffer, "Filename too long");
|
||||
break;
|
||||
case ENOBUFS:
|
||||
strcpy(buffer, "No buffer space available");
|
||||
break;
|
||||
default:
|
||||
{
|
||||
// FIXME: sprintf
|
||||
|
||||
Reference in New Issue
Block a user