source:
azure_iot_hub_mbedtls/trunk/musl-1.1.18/src/string/wcsspn.c@
417
Last change on this file since 417 was 398, checked in by , 5 years ago | |
---|---|
|
|
File size: 144 bytes |
Rev | Line | |
---|---|---|
[398] | 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.