mirror of
https://github.com/cowmonk/cowos.git
synced 2025-10-28 06:53:26 +00:00
Branch sync and push, reformated and made the OS look more "official"
This commit is contained in:
parent
13389f9617
commit
59e39d9842
9 changed files with 270 additions and 0 deletions
11
kernel/lib/string.c
Normal file
11
kernel/lib/string.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "../include/lib/string.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
size_t
|
||||
strlen(const char* str)
|
||||
{
|
||||
size_t len = 0;
|
||||
while (str[len]) len++;
|
||||
return len;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue