mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2025-10-26 10:15:06 -07:00
begin fixing build errors
This commit is contained in:
@@ -1,9 +1 @@
|
||||
#include "types.h"
|
||||
|
||||
// Example: Basic memory helper (unnecessary if libc exists)
|
||||
void *memset(void *dest, int value, size_t len) {
|
||||
unsigned char *ptr = (unsigned char *)dest;
|
||||
while (len-- > 0)
|
||||
*ptr++ = (unsigned char)value;
|
||||
return dest;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user