Copy that data to another buffer,
Why bother with another buffer?
Just write from the pointer that strtok returns - the rest of the string is already null-terminated, isn't it?
Copy that data to another buffer,
Why bother with another buffer?
Just write from the pointer that strtok returns - the rest of the string is already null-terminated, isn't it?