ssttrrssppnn() -- String Function (libc)

Return length a string includes characters in another
#iinncclluuddee <ssttrriinngg.hh>
uunnssiiggnneedd iinntt ssttrrssppnn(_s_t_r_i_n_g_1, _s_t_r_i_n_g_2)
cchhaarr *_s_t_r_i_n_g_1; cchhaarr *_s_t_r_i_n_g_2;

ssttrrssppnn() returns  the length for  which _s_t_r_i_n_g_1 initially  consists only of
characters that are found in _s_t_r_i_n_g_2. For example,

    char *s1 = "hello, world";
    char *s2 = "kernighan & ritchie";
    strcspn(s1, s2);

returns  two, which  is the  length  for which  the first  string initially
consists of characters found in the second.

_S_e_e _A_l_s_o
lliibbcc, ssttrriinngg.hh
ANSI Standard, section 7.11.5.6
POSIX Standard, section 8.1
