关于C函数库string.h中的函数名

char *strcat(char *__s1, const char *__s2);
char *strchr(const char *__s, int c);
int strcmp(const char *
s1, const char *__s2);
int strcoll(const char *__s1, const char *__s2);
char *strcpy(char *__dst, const char *__src);
size_t strcspn(const char *__s, const char *__charset);
char *strerror(int errnum) __DARWIN_ALIAS(strerror);
size_t strlen(const char *
s);
char *strncat(char *__s1, const char *__s2, size_t n);
int strncmp(const char *
s1, const char *__s2, size_t n);
char *strncpy(char *
dst, const char *__src, size_t n);
char *strpbrk(const char *
s, const char *__charset);
char *strrchr(const char *__s, int c);
size_t strspn(const char *
s, const char *__charset);
char *strstr(const char *__big, const char *__little);
char *strtok(char *__str, const char *__sep);

   请问这些函数名的英文含义,不然很难记住。比如strcmp是string compare。请大家指点指点。

strcat :string catenate.
strlen: string length
strcpy: string copy
strspn: string span
strerror 获取系统错误信息或打印用户程序错误信息,与错误码error配合使用
strchr :查找某字符在字符串中首次出现位置 string char
就这么多了

去下载一个c函数大全,然后看函数的作用就可以记住了

你想想你会对字符串做什么操作?比如要复制吧?要查找某字符,要连接字符串。。。。。,实际上除了常见的几个,没必要记住所有的

看我的博客里面有一篇专门写的是string函数的源代码,就有解释每个函数的含义