int fun(char *dst, char *src, int len, char in){ int i = 0; int j = 0; if ((NULL == dst) || (NULL == src)) return ERROR; for (i=0;i { if (in == *(src+i)) continue; *(dst+j) = *(src+i); j ++; } return OK;}