摘要:
一、memchr函数,字符定位。 Locate character in block of memory//1、memchr函数,字符定位。 Locate character in block of memory // void * memchr ( const void *, int, size_t ); char * pch; char str[] = "Example string"; pch =(char *) memchr(str,'p',strlen(str)); //返回的指针 if(pch != NULL){ //找不到,返回NULL ... 阅读全文