1 /* wcsspn( const wchar_t *, const wchar_t * )
\r
3 This file is part of the Public Domain C Library (PDCLib).
\r
4 Permission is granted to use, modify, and / or redistribute at will.
\r
11 size_t wcsspn( const wchar_t * s1, const wchar_t * s2 )
\r
20 if ( s1[len] == *p )
\r
38 #include <_PDCLIB_test.h>
\r
42 TESTCASE( wcsspn( wabcde, L"abc" ) == 3 );
\r
43 TESTCASE( wcsspn( wabcde, L"b" ) == 0 );
\r
44 TESTCASE( wcsspn( wabcde, wabcde ) == 5 );
\r
45 return TEST_RESULTS;
\r