WCSCSPN(3) NEWLIB WCSCSPN(3)NAME
7.12 `wcscspn'--get length of a complementary wide substring
SYNOPSIS
#include <wchar.h>
size_t wcscspn(const wchar_t *S, wchar_t *SET);
DESCRIPTION
The `wcscspn' function computes the length of the maximum initial seg‐
ment of the wide-character string pointed to by S which consists
entirely of wide-character codes not from the wide-character string
pointed to by SET.
RETURNS
The `wcscspn' function returns the length of the initial substring of
S1; no return value is reserved to indicate an error.
PORTABILITY
`wcscspn' is ISO/IEC 9899/AMD1:1995 (ISO C).
No supporting OS subroutines are required.
SEE ALSOwcscspn is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 WCSCSPN(3)