WCSCHR(3) NEWLIB WCSCHR(3)NAME
7.7 `wcschr'--wide-character string scanning operation
SYNOPSIS
#include <wchar.h>
wchar_t *wcschr(const wchar_t *S, wchar_t C);
DESCRIPTION
The `wcschr' function locates the first occurrence of C in the wide-
character string pointed to by S. The value of C must be a character
representable as a type wchar_t and must be a wide-character code cor‐
responding to a valid character in the current locale. The terminating
null wide-character string.
RETURNS
Upon completion, `wcschr' returns a pointer to the wide-character code,
or a null pointer if the wide-character code is not found.
PORTABILITY
`wcschr' is ISO/IEC 9899/AMD1:1995 (ISO C).
No supporting OS subroutines are required.
SEE ALSOwcschr 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 WCSCHR(3)