This commit is contained in:
Ben
2019-04-25 16:18:23 +01:00
parent d65d1a6e74
commit 1d4201505e
12 changed files with 140 additions and 73 deletions

View File

@@ -1,5 +1,8 @@
#include "string.h"
uint32_t strlen(char* str) {
uint32_t len = 0;
while (str[len])
len++;
return len;
}