wcsspn.c

The libc implementation

Author

Marcel Sondaar

License

Public Domain

Summary
wcsspn.cThe libc implementation
Functions
wcsspnTests characters in s1 for an occurance in s2 until no match is found

Functions

wcsspn

size_t wcsspn(const wchar_t *s1,
const wchar_t *s2)

Tests characters in s1 for an occurance in s2 until no match is found

Returns the amount of characters from the beginning of s1 that occur in s2

size_t wcsspn(const wchar_t *s1,
const wchar_t *s2)
Tests characters in s1 for an occurance in s2 until no match is found