strtok.c 127 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. }