2.11BSD/man/cat3/strspn.0

Compare this file to the similar file:
Show the results in this format:




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



NAME
     strspn - span a string

SYNOPSIS
     #include <string.h>

     size_t
     strspn(s, charset)
     _c_h_a_r *_s;
     _c_h_a_r *_c_h_a_r_s_e_t;

DESCRIPTION
     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 .

RETURN VALUES
     The strspn() function returns the number of characters
     spanned.

SEE ALSO
     index(3), memchr(3), rindex(3), strchr(3), strcspn(3),
     strpbrk(3), strrchr(3), strsep(3), strstr(3), strtok(3)

STANDARDS
     The strspn() function conforms to ANSI C X3.159-9189 (``ANSI
     C'').




























Printed 11/26/99	January 12, 1996			1