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

8
src/kernel/system.c Normal file
View File

@@ -0,0 +1,8 @@
#include "system.h"
void *memset(void *dest, char val, size_t count)
{
char *temp = (char *)dest;
for(; count != 0; count--) *temp++ = val;
return dest;
}