string.h (672B)
1 #ifndef __STRING_H__ 2 #define __STRING_H__ 3 4 #include <sys/types.h> 5 6 extern void *memcpy(void *dest, const void *src, size_t n); 7 extern void *memmove(void *dest, const void *src, size_t count); 8 extern void *memset(void *s, int c, size_t n); 9 extern int memcmp(const void *cs, const void *ct, size_t count); 10 extern size_t strlen(const char *s); 11 extern size_t strnlen(const char *s, size_t count); 12 extern int strcmp(const char *cs, const char *ct); 13 extern char *strcpy(char *dest, const char *src); 14 extern char *strncpy(char *dest, const char *src, size_t count); 15 extern int strncmp(const char *cs, const char *ct, size_t count); 16 extern void bzero(void *s, size_t n); 17 18 #endif 19