[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Base Operating System and Extensions Technical Reference, Volume 2

wcspbrk Subroutine


Locates the first occurrence of characters in a string.


Standard C Library (libc.a)


#include <string.h>
wchar_t *wcspbrk(WcString1WcString2)
const wchar_t *WcString1;
const wchar_t *WcString2;


The wcspbrk subroutine locates the first occurrence in the wide character string pointed to by the WcString1 parameter of any wide character from the string pointed to by the WcString2 parameter.


WcString1 Points to a wide-character string being searched.
WcString2 Points to a wide-character string.

Return Values

If no wchar_t character from the WcString2 parameter occurs in the WcString1 parameter, the wcspbrk subroutine returns a pointer to the wide character, or a null value.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The mbspbrk subroutine, wcschr subroutine, wcscspn subroutine, wcsrchr subroutine, wcsspn subroutine, wcstok subroutine, wcswcs subroutine.

National Language Support Overview for Programming, Subroutines Overview, Understanding Wide Character String Search Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.

[ Previous | Next | Contents | Glossary | Home | Search ]