STRSPN
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
NAME
strspn
- span a string
SYNOPSIS
Fd #include <string.h>
Ft size_t
Fn strspn const char *s const char *charset
DESCRIPTION
The
strcspn
function
spans the initial part of the null-terminated string
Fa s
as long as the characters from
Fa s
occur in string
Fa charset .
RETURN VALUES
The
Fn strspn
function
returns the number of characters spanned.
SEE ALSO
index(3),
memchr(3),
rindex(3),
strchr(3),
strcspn(3),
strpbrk(3),
strrchr(3),
strsep(3),
strstr(3),
strtok(3)
STANDARDS
The
Fn strspn
function
conforms to
St -ansiC .
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUES
-
- SEE ALSO
-
- STANDARDS
-
This document was created by
man2html,
using the manual pages.
Time: 02:53:52 GMT, December 08, 2024