LibC: Add ENTOSUP errno

This commit is contained in:
Bananymous 2023-03-16 16:03:51 +02:00
parent 1f2ceeb329
commit 4493c9bbe6
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@
#define EISDIR 4
#define ENOENT 5
#define EIO 6
#define ENOTSUP 7
__BEGIN_DECLS

View File

@ -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