1.TH strspn 3 scc\-VERSION2.SH NAME3strspn - compute the length of the initial segment containing only given characters4.SH SYNOPSIS5#include <string.h>67size_t strspn(const char *s1, const char *s2)8.SH DESCRIPTION9The10.BR strspn ()11function calculates the length of the longest prefix of the string at12.I s113that consists entirely of characters found in the string at14.IR s2 .15.SH RETURN VALUE16The length of the prefix is returned.17.SH STANDARDS18ISO/IEC 9899:1999 Section 7.21.5.6