00001 00043 #ifndef GENERIC_STRING_H_INCLUDED 00044 #define GENERIC_STRING_H_INCLUDED 00045 00046 #include <types.h> 00047 #include <compiler.h> 00048 00063 00065 void *generic_memcpy(void *dest, const void *src, size_t n); 00067 void *generic_memset(void *s, int c, size_t n); 00069 size_t generic_strlen(const char *str); 00071 int generic_strcmp(const char *str1, const char *str2) __nonnull(1, 2); 00073 int generic_strncmp(const char *str1, const char *str2, size_t n) __nonnull(1, 2); 00074 00076 00077 00078 #endif /* GENERIC_STRING_H_INCLUDED */
1.6.3