mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2025-04-19 17:37:09 +02:00
9 lines
145 B
C
9 lines
145 B
C
#include <string.h>
|
|
|
|
//TODO: update me :(
|
|
void *memset(void *s, int c, size_t n)
|
|
{
|
|
while ((int)--n >= 0)
|
|
((uint8_t*)s)[n] = c;
|
|
return (s);
|
|
}
|