SysTutorials

Linux Manual Pages › Section 9

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

Copyright