WCSSPN(3) NEWLIB WCSSPN(3)NAME
7.24 `wcsspn'--get length of a wide substring
SYNOPSIS
#include <wchar.h>
size_t wcsspn(const wchar_t *S, const wchar_t *SET);
DESCRIPTION
The `wcsspn' 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 from the wide-character string pointed
to by SET.
RETURNS
The wcsspn() function returns the length S1; no return value is
reserved to indicate an error.
PORTABILITY
`wcsspn' is ISO/IEC 9899/AMD1:1995 (ISO C).
No supporting OS subroutines are required.
SEE ALSOwcsspn 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 WCSSPN(3)