mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 05:38:21 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#include <stddef.h>
|
||||
|
||||
void* memset(void* ptr, unsigned long value, size_t num){
|
||||
char* p = (char*)ptr;
|
||||
while(num--)
|
||||
*p++ = value;
|
||||
|
||||
return ptr;
|
||||
}
|
||||
Reference in New Issue
Block a user