diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-17 02:18:11 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-17 02:18:11 +0000 |
| commit | 9e254fd26d01f4ae06517e331c9951bd79e0512e (patch) | |
| tree | 5bfa197a4a34bb4c508c5d17169e69a7638145b2 /libc/string/wcstok.c | |
| parent | df3898e923bf710f8661dae2bba35064481c0f05 (diff) | |
| download | uClibc-alpine-9e254fd26d01f4ae06517e331c9951bd79e0512e.tar.bz2 uClibc-alpine-9e254fd26d01f4ae06517e331c9951bd79e0512e.tar.xz | |
Copy from trunk.
Diffstat (limited to 'libc/string/wcstok.c')
| -rw-r--r-- | libc/string/wcstok.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libc/string/wcstok.c b/libc/string/wcstok.c new file mode 100644 index 000000000..2afbd9f22 --- /dev/null +++ b/libc/string/wcstok.c @@ -0,0 +1,20 @@ +/* + * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org> + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#define L_strtok_r +#define WANT_WIDE +#define Wstrtok_r __wcstok + +#undef Wstrspn +#define Wstrspn wcsspn +#undef Wstrpbrk +#define Wstrpbrk wcspbrk + +#include "wstring.c" + +strong_alias(__wcstok, wcstok) + +#undef L_strtok_r |
