shithub: scc

ref: db565b93a3e8db0e72be663d3cb6560ab96fc64f
dir: /doc/man3/strcspn.3/

View raw version
.TH strcspn 3
.SH NAME
strcspn - get length of complementary substring
.SH SYNOPSIS
#include <string.h>

size_t strcspn(const char *s1, const char *s2)
.SH DESCRIPTION
The
.BR strcspn ()
function computes the length
of the maximum initial segment
of string pointed to by
.I s1
which consists entirely of characters
not from the string pointed to by
.IR s2 .
.SH RETURN VALUE
The
.BR strcspn ()
function shall return the length of the segment.
.SH STANDARDS
ISO/IEC 9899:1999 Section 7.21.5.3