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

Guardian Native C Library Calls (t - z) wcspbrk(3)
NAME
wcspbrk - Locates the rst occurrence of characters in a 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 *wcspbrk(
const wchar_t *wcs1,
const wchar_t *wcs2);
PARAMETERS
wcs1 Pointer to a string that is being searched.
wcs2 Pointer to a string that contains a set of characters.
DESCRIPTION
The wcspbrk( ) function locates the rst occurrence in the string pointed to by the wcs1 parame-
ter of any character from the string pointed to by the wcs2 parameter.
RETURN VALUES
The wcspbrk( ) function returns a pointer to the character, or the null pointer if no wide character
from the wcs2 parameter occurs in the wcs1 parameter.
ERRORS
None. This function does not set errno.
RELATED INFORMATION
Functions: strpbrk(3), wcswcs(3).
527192-005 Hewlett-Packard Company 765