Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)

wcsrchr(3) Guardian Native C Library Calls Reference Manual
NAME
wcsrchr - Searches for the nal instance of a character in a wide-character string
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: /G/system/sysnn/zcrtlsrl
H-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
H-series OSS processes: /G/system/zdllnnn/zcrtldll
SYNOPSIS
#include <wchar.h>
wchar_t *wcsrchr(
const wchar_t *wcstring,
wint_t widecharacter);
PARAMETERS
wcstring Points to a string to search
widecharacter Species a wide character to locate.
DESCRIPTION
The wcsrchr() function locates the last occurrence of the widecharacter parameter. The ter-
minating null wide character is considered to be part of the string.
RETURN VALUES
The wcsrchr() function returns a pointer to the widecharacter parameter, or a null pointer if
widecharacter does not occur in the string.
RELATED INFORMATION
Functions: wcschr(3), wcswcs(3).
766 Hewlett-Packard Company 527192-005