To quote the man page:BUGS
Never use this function. This function modifies its first
argument. The identity of the delimiting character is
lost. This function cannot be used on constant strings.
References
Unix Man page strtok(3)