Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
string.h
Go to the documentation of this file.
1 #ifndef _ASM_CRIS_STRING_H
2 #define _ASM_CRIS_STRING_H
3 
4 /* the optimized memcpy is in arch/cris/lib/string.c */
5 
6 #define __HAVE_ARCH_MEMCPY
7 extern void *memcpy(void *, const void *, size_t);
8 
9 /* New and improved. In arch/cris/lib/memset.c */
10 
11 #define __HAVE_ARCH_MEMSET
12 extern void *memset(void *, int, size_t);
13 
14 #ifdef CONFIG_ETRAX_ARCH_V32
15 /* For v32 we provide strcmp. */
16 #define __HAVE_ARCH_STRCMP
17 extern int strcmp(const char *s1, const char *s2);
18 #endif
19 
20 #endif