strspn (9) - Linux Manuals
strspn: Calculate the length of the initial substring of s which only contain letters in accept
Command to display strspn
manual in Linux: $ man 9 strspn
NAME
strspn - Calculate the length of the initial substring of s which only contain letters in accept
SYNOPSIS
-
size_t strspn(const char * s, const char * accept);
ARGUMENTS
s
-
- The string to be searched
accept
-
The string to search for
COPYRIGHT
Pages related to strspn
- strspn (3) - get length of a prefix substring
- strspn (3p) - get length of a substring
- strscpy (9) - Copy a C-string into a sized buffer
- strsep (9) - Split a string into tokens
- strstr (9) - Find the first substring in a NUL terminated string
- 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