
STRSPN(3)                  UNIX Programmer's Manual                  STRSPN(3)

NNAAMMEE
     ssttrrssppnn - span a string

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<ssttrriinngg..hh>>

     _s_i_z_e___t
     ssttrrssppnn(_c_o_n_s_t _c_h_a_r _*_s, _c_o_n_s_t _c_h_a_r _*_c_h_a_r_s_e_t)

DDEESSCCRRIIPPTTIIOONN
     The strcspn function spans the initial part of the null-terminated string
     _s as long as the characters from _s occur in string _c_h_a_r_s_e_t.

RREETTUURRNN VVAALLUUEESS
     The ssttrrssppnn() function returns the number of characters spanned.

SSEEEE AALLSSOO
     index(3),  memchr(3),  rindex(3),  strchr(3),  strcspn(3),  strpbrk(3),
     strrchr(3),  strsep(3),  strstr(3),  strtok(3)

SSTTAANNDDAARRDDSS
     The ssttrrssppnn() function conforms to ANSI C3.159-1989 (``ANSI C'').

BSD Experimental                 June 29, 1991                               1







































