Lines Matching defs:str
14 void cutto(char *str, int len)
16 memmove(str, str + len, strlen(str) - len + 1);
25 int replace(char *str, char *what, char *by)
27 char *foo, *bar = str;
46 char *str, *tok;
49 str = (char *) malloc(sizeof(char) * (strlen(list) + 2));
50 if (!str)
53 memset(str, 0, strlen(list) + 2);
54 strncpy(str, list, strlen(list));
57 str[strlen(list)] = ',';
61 tok = strtok(str, ",");
66 free(str);
78 free(str);
84 free(str);
89 free(str);
96 free(str);