How can I use strtok_r instead of strtok to do this?
char *pchE = strtok(NULL, \" \");
Now I\'m trying to use strtok_r properl
strtok_r
char str[]="string for sample"; char *reserve; char *pchE = strtok_r(str, " ", &reserve);//when next call str -> NULL