The libc implementation
Martin ‘Solar’ Baute
Public Domain
size_t strcspn(const char *s1,const char *s2)
Tests characters in s1 for an occurance in s2 until a match is found
Returns the amount of characters from the beginning of s1 that do NOT occur in s2