Restructuration part 2: libc, programs

This commit is contained in:
xamidev
2024-07-19 17:40:53 +02:00
parent 014b0d2b50
commit b8faf9dd8e
24 changed files with 17 additions and 12 deletions

9
src/libc/string.c Normal file
View File

@@ -0,0 +1,9 @@
int strlen(char* str)
{
int len = 0;
while (*str++)
{
len++;
}
return len;
}