5 /* strcspn( const char *, const char * )
7 This file is part of the Public Domain C Library (PDCLib).
8 Permission is granted to use, modify, and / or redistribute at will.
13 size_t strcspn( const char * src_1, const char * src_2 )
17 while ( src_1[len] != '\0' )
20 while ( *src_p != '\0' )
22 if ( src_1[len] == *src_p++ )