1

move user stuff to user

This commit is contained in:
2022-07-11 19:29:42 +02:00
parent 996a45d7f8
commit ec084d3aca
4 changed files with 5 additions and 9 deletions

7
c_os/user/MyLib.cc Executable file
View File

@ -0,0 +1,7 @@
#include "user/MyLib.h"
void mmem::memset(char* destination, char value, unsigned int bytes) {
for (unsigned int byte = 0; byte < bytes; ++byte) {
*(destination + byte) = value;
}
}