Use NUL as first argument to keep parsing same string
NULL is here meant to be like a pointer on "token" right?
Does the while loop extract every name and value out of "token" and in this loop i have with the values
to start other programms?
like
char *name = strtok(NULL, "="); // Get the first name. Use NULL as first argument to keep parsing same string
while((name) == mode)
{
char *valu = strtok(NULL, "&");
if((valu) == blink) //Thats only if i know what the value can be else it would be if(value)
{
// Do something with name and valu
name = strtok(NULL, "="); // Get the next name
}
}
Is that interpretation right? Couldn't evaluate it by myself because im not at home til tomorrow