Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/arm/aeabi_memset.c')
-rw-r--r--newlib/libc/sys/arm/aeabi_memset.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/newlib/libc/sys/arm/aeabi_memset.c b/newlib/libc/sys/arm/aeabi_memset.c
new file mode 100644
index 000000000..69582d34d
--- /dev/null
+++ b/newlib/libc/sys/arm/aeabi_memset.c
@@ -0,0 +1,14 @@
+#include <string.h>
+#include "aeabi.h"
+
+/* Set memory like memset, but different argument order and no return
+ value required. */
+void
+__aeabi_memset (void *dest, size_t n, int c)
+{
+ memset (dest, c, n);
+}
+
+/* Versions of the above which may assume memory alignment. */
+strong_alias (__aeabi_memset, __aeabi_memset4)
+strong_alias (__aeabi_memset, __aeabi_memset8)