diff options
author | Marvin Borner | 2020-07-23 13:10:22 +0200 |
---|---|---|
committer | Marvin Borner | 2020-07-23 13:10:22 +0200 |
commit | 99e183a2f569729d722d83503cb851d6198fc1fe (patch) | |
tree | 21e48da4f0220022d17b420de0bf771a97985293 /src/lib/string.c | |
parent | fa00718c221b64070067bcd64acbc297e4ac699c (diff) |
Some functions for stdlib
Diffstat (limited to 'src/lib/string.c')
-rw-r--r-- | src/lib/string.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/string.c b/src/lib/string.c deleted file mode 100644 index 1b7a2b8..0000000 --- a/src/lib/string.c +++ /dev/null @@ -1,11 +0,0 @@ -// MIT License, Copyright (c) 2020 Marvin Borner - -#include <def.h> - -u32 strlen(const char *str) -{ - u32 len = 0; - while (str[len]) - len++; - return len; -} |