1 #include <msvcrt/string.h>
3 wchar_t *wcstok(wchar_t *s, const wchar_t *ct)
10 if (s == NULL && (s = last) == NULL)
14 * Skip (span) leading ctiters (s += strspn(s, ct), sort of).
19 for (spanp = ct; (sc = *spanp) != 0;spanp++) {
24 if (c == 0) { /* no non-ctiter characters */
31 * Scan token (scan for ctiters: s += strcspn(s, ct), sort of).
32 * Note that ct must have one NUL; we stop if we see that, too.
39 if ((sc = *spanp) == c) {