STRCSPN(3) 1990 STRCSPN(3) NNAAMMEE strcspn - span the complement of a string SSYYNNOOPPSSIISS ##iinncclluuddee <<ssttrriinngg..hh>> ssiizzee__tt ssttrrccssppnn((ccoonnsstt cchhaarr **ss,, ccoonnsstt cchhaarr **cchhaarrsseett));; DDEESSCCRRIIPPTTIIOONN SSttrrccssppnn spans the initial part of the null-terminated string _s as long as the characters from _s do not occur in string _c_h_a_r_s_e_t (i.e., _s_t_r_c_s_p_n spans the _c_o_m_p_l_e_m_e_n_t of _c_h_a_r_s_e_t). SSttrrccssppnn returns the number of characters spanned. SSEEEE AALLSSOO index(3), memchr(3), rindex(3), strchr(3), strpbrk(3), strrchr(3), strsep(3), strspn(3), strstr(3), strtok(3) SSTTAANNDDAARRDDSS SSttrrccssppnn conforms to ANSI X3.159-1989 (``ANSI C''). Printed 7/27/90 May 1