1 #ifndef __X86_STRING_H__ 2 #define __X86_STRING_H__ 3 4 #define __HAVE_ARCH_MEMCPY 5 void *memcpy(void *dest, const void *src, size_t n); 6 #define memcpy(d, s, n) __builtin_memcpy(d, s, n) 7 8 #define __HAVE_ARCH_MEMMOVE 9 void *memmove(void *dest, const void *src, size_t n); 10 #define memmove(d, s, n) __builtin_memmove(d, s, n) 11 12 #define __HAVE_ARCH_MEMSET 13 void *memset(void *dest, int c, size_t n); 14 #define memset(s, c, n) __builtin_memset(s, c, n) 15 16 #endif /* __X86_STRING_H__ */ 17 /* 18 * Local variables: 19 * mode: C 20 * c-file-style: "BSD" 21 * c-basic-offset: 4 22 * indent-tabs-mode: nil 23 * End: 24 */ 25