ARM application development SDK for MNT ZZ9000 graphics and coprocessor card for classic Amiga computers.
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.

memset.c 155B

12345678910
  1. #include <stddef.h>
  2. void *
  3. memset (void *dest, int val, size_t len)
  4. {
  5. unsigned char *ptr = dest;
  6. while (len-- > 0)
  7. *ptr++ = val;
  8. return dest;
  9. }