The libc implementation
Martin ‘Solar’ Baute
Public Domain
size_t strspn(const char *s1,const char *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