Synopsis

#include <string.h>

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

Description

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

Return value

Errors