I am VERY new to C so please bear with me. I have 2 variables being set from a longer string using strtok. From what I understand, this function sets an internal variable of the current position.
Is it possible to reset said variable in order to allow the strtok function to start to search from the start of the string again?
I am coding a module for the Anope IRC Services system, and I am doing a command override, so that actions can be performed prior to Anope executing the regular stuff. This is the reason why I need to, in effect, reset this variable at the end of my module, so that Anope's own code can do as it normally does.