wcstok.c 370 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
  3. *
  4. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  5. */
  6. #define L_strtok_r
  7. #define WANT_WIDE
  8. #define Wstrtok_r __wcstok
  9. #undef Wstrspn
  10. #define Wstrspn __wcsspn
  11. #undef Wstrpbrk
  12. #define Wstrpbrk __wcspbrk
  13. #include "wstring.c"
  14. strong_alias(__wcstok, wcstok)
  15. #undef L_strtok_r