strstr

来源:互联网 发布:centos php exec 权限 编辑:程序博客网 时间:2024/06/02 04:25

char *p = strstr(buffer, "Host");

if (p != NULL)

{

*p = 'a';

}

0 0