strtok.c 125 B

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