LibC: Write mostly functioning stdio

This commit is contained in:
2023-04-23 14:32:37 +03:00
parent 9b2a577fc3
commit cd74b2167d
13 changed files with 619 additions and 60 deletions

View File

@@ -125,6 +125,9 @@ char* strerror(int error)
case ENOTBLK:
strcpy(buffer, "Block device required");
break;
case EMFILE:
strcpy(buffer, "File descriptor value too large");
break;
default:
{
// FIXME: sprintf