strtok stores its values in thread local storage.