wcschr(3) — Subroutines
NAME
wcschr, wcsrchr − Search for a character in a wide-character string
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <wchar.h>
wchar_t ∗wcschr(
const wchar_t ∗wcstring,
wint_t widecharacter);
wchar_t ∗wcsrchr(
const wchar_t ∗wcstring,
wint_t widecharacter);
PARAMETERS
wcstringPoints to a string to search.
widecharacterSpecifies a wide character to locate.
DESCRIPTION
The wcschr() function locates the first occurrence of the widecharacter in the the string pointed to by the wcstring parameter. The wcsrchr() function locates the last occurrence of the widecharacter parameter. The terminating null wide character is considered to be part of the string.
RETURN VALUES
The wcschr() and wcsrchr() functions return a pointer to the widecharacter parameter, or a null pointer if widecharacter does not occur in the string.
RELATED INFORMATION
Functions: wcswcs(3).