摘要: memstr 1 //find'substr'fromafixed-lengthbuffer 2 //('full_data'willbetreatedasbinarydatabuffer) 3 //returnNULLifnotfound 4 char* memstr(char* full_data, int full_data_len, char* substr) 5 { 6 if (full_data == NULL || full_data_len = sublen);22 if (memcmp(cur, substr, sublen) == 0) {. 阅读全文
posted @ 2014-04-02 19:28 葫芦娃Vs奥特曼 阅读(396) 评论(0) 推荐(0)