Restructuration part 2: libc, programs
This commit is contained in:
9
src/libc/string.c
Normal file
9
src/libc/string.c
Normal file
@@ -0,0 +1,9 @@
|
||||
int strlen(char* str)
|
||||
{
|
||||
int len = 0;
|
||||
while (*str++)
|
||||
{
|
||||
len++;
|
||||
}
|
||||
return len;
|
||||
}
|
||||
Reference in New Issue
Block a user