123456789101112131415161718192021222324 |
- #include "_string.h"
- #if 0
- # define Wstrtok wcstok
- # define Wstrtok_r wcstok_r
- #else
- # define Wstrtok strtok
- # define Wstrtok_r strtok_r
- #endif
- Wchar *Wstrtok(Wchar * __restrict s1, const Wchar * __restrict s2)
- {
- static Wchar *next_start;
- return Wstrtok_r(s1, s2, &next_start);
- }
- libc_hidden_def(Wstrtok)
|