strcspn(9)
strcspn - 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
Linux Manual Pages › Section 9
strcspn - Calculate the length of the initial substring of s which does not contain letters in reject
size_t strcspn(const char *s, const char *reject);s
reject