Why should strtok() generally be avoided?

strtok() has at least these problems:


Please publish references to this page under the canonical URL http://benpfaff.org/writings/clc/strtok.html.
Last updated 02 Jan 2004 23:51. Copyright © 2004 Ben Pfaff.
May be freely redistributed, but copyright notice must be retained.