Add: begin shell with help command

This commit is contained in:
xamidev
2024-07-21 15:37:32 +02:00
parent 05393b36f8
commit 5eee67a0e5
8 changed files with 43 additions and 6 deletions

View File

@@ -7,3 +7,13 @@ int strlen(char* str)
}
return len;
}
int strcmp(char* str1, char* str2)
{
while (*str1 && (*str1 == *str2))
{
str1++;
str2++;
}
return *(const unsigned char*)str1 - *(const unsigned char*)str2;
}