Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

Guardian Native C Library Calls (t - z) wcspbrk(3)
NAME
wcspbrk - Locates the first 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 and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll
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 first 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-018 Hewlett-Packard Company 7149