1 2 3 4 5 6 7 8
#include <string.h> static char *save = 0; char *strtok(char *s, const char *delim) { return __strtok_r(s, delim, &save); }