1 /* strspn( const char *, const char * )
3 This file is part of the Public Domain C Library (PDCLib).
4 Permission is granted to use, modify, and / or redistribute at will.
11 size_t strspn( const char * s1, const char * s2 )
39 #include "_PDCLIB_test.h"
43 TESTCASE( strspn( abcde, "abc" ) == 3 );
44 TESTCASE( strspn( abcde, "b" ) == 0 );
45 TESTCASE( strspn( abcde, abcde ) == 5 );