a C standard library for fx Casio calculators
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
308 B

#include <string.h>
#include <stdint.h>
** The memset() function fills the first n bytes of the memory area pointed to
** by s with the constant byte c.
** TODO: use DMA !
** TODO: use DSP ?
void *memset(void *s, int c, size_t n)
while ((int)--n >= 0)
((uint8_t *) s)[n] = c;
return (s);