Synopsis

#include <string.h>

size_t strspn(const char *str1, const char *str2);

Description

Calculates the length of the initial segment of str1 which consists entirely of characters in str2.

Return value

Errors