00001
00038 #ifndef ARCH_STRING_H_INCLUDED
00039 #define ARCH_STRING_H_INCLUDED
00040
00041 #include <generic/string.h>
00042
00043 static inline void *memcpy(void *dest, const void *src, size_t n)
00044 {
00045 return generic_memcpy(dest, src, n);
00046 }
00047
00048 static inline void *memset(void *s, int c, size_t n)
00049 {
00050 return generic_memset(s, c, n);
00051 }
00052
00053 static inline size_t strlen(const char *str)
00054 {
00055 return generic_strlen(str);
00056 }
00057
00058 static inline int strcmp(const char *str1, const char *str2)
00059 {
00060 return generic_strcmp(str1, str2);
00061 }
00062
00063 static inline int strncmp(const char *str1, const char *str2, size_t n)
00064 {
00065 return generic_strncmp(str1, str2, n);
00066 }
00067
00068 #endif