#ifndef _STRING_H_ #define _STRING_H_ #include #ifdef __cplusplus extern "C" { #endif void* memcpy(void* dest, const void* src, size_t num); void* memset(void* dest, int ch, size_t count); size_t strlen(const char* s); char* strcpy(char* dest, const char* src); char* strncpy(char* dest, const char* src, size_t num); int strcmp(const char* s1, const char* s2); int strncmp(const char* s1, const char* s2, size_t n); char* strncat(char* dest, const char* src, size_t n); #ifdef __cplusplus } #endif #endif