musl/arch/arm/src/__aeabi_memset.c
Timo Teräs d8be1bc019 implement arm eabi mem* functions
these functions are part of the ARM EABI, meaning compilers may
generate references to them. known versions of gcc do not use them,
but llvm does. they are not provided by libgcc, and the de facto
standard seems to be that libc provides them.
2015-08-31 06:35:01 +00:00

10 lines
203 B
C

#include <string.h>
#include "libc.h"
void __aeabi_memset(void *dest, size_t n, int c)
{
memset(dest, c, n);
}
weak_alias(__aeabi_memset, __aeabi_memset4);
weak_alias(__aeabi_memset, __aeabi_memset8);