forked from Bananymous/banan-os
LibC: Add ENTOSUP errno
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#define EISDIR 4
|
||||
#define ENOENT 5
|
||||
#define EIO 6
|
||||
#define ENOTSUP 7
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
|
||||
@@ -28,6 +28,9 @@ char* strerror(int error)
|
||||
case EIO:
|
||||
strcpy(buffer, "Input/output error");
|
||||
break;
|
||||
case ENOTSUP:
|
||||
strcpy(buffer, "Operation not supported");
|
||||
break;
|
||||
default:
|
||||
{
|
||||
// FIXME: sprintf
|
||||
|
||||
Reference in New Issue
Block a user