forked from Bananymous/banan-os
LibC: add ENOBUFS errno
This commit is contained in:
parent
7f90079ea7
commit
f4db246658
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue