add some rudimentary memory manipulation functions
This commit is contained in:
7
c_os/lib/MyStdLib.cc
Normal file
7
c_os/lib/MyStdLib.cc
Normal file
@ -0,0 +1,7 @@
|
||||
#include "MyStdLib.h"
|
||||
|
||||
void mymemset(char* destination, char value, unsigned int bytes) {
|
||||
for (unsigned int byte = 0; byte < bytes; ++byte) {
|
||||
*(destination + byte) = value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user