source:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/string/wcsspn.c@
351
Last change on this file since 351 was 337, checked in by , 6 years ago | |
---|---|
|
|
File size: 144 bytes |
Line | |
---|---|
1 | #include <wchar.h> |
2 | |
3 | size_t wcsspn(const wchar_t *s, const wchar_t *c) |
4 | { |
5 | const wchar_t *a; |
6 | for (a=s; *s && wcschr(c, *s); s++); |
7 | return s-a; |
8 | } |
Note:
See TracBrowser
for help on using the repository browser.