strcspn (9) - Linux Manuals
strcspn: Calculate the length of the initial substring of s which does not contain letters in reject
Command to display strcspn
manual in Linux: $ man 9 strcspn
NAME
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
Pages related to strcspn
- strcspn (3) - get length of a prefix substring
- strcspn (3p) - get the length of a complementary substring
- strcat (9) - Append one NUL-terminated string to another
- strchr (9) - Find the first occurrence of a character in a string
- strchrnul (9) - Find and return a character in a string, or end of string
- strcmp (9) - Compare two strings
- strcpy (9) - Copy a NUL terminated string
- strim (9) - Removes leading and trailing whitespace from s.