strcspn(9) Calculate the length of the initial substring of s which does not contain letters in reject

SYNOPSIS

size_t strcspn(const char * s, const char * reject);

ARGUMENTS

s

The string to be searched

reject

The string to avoid

COPYRIGHT