[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 2

wcspbrk Subroutine

Purpose

Locates the first occurrence of characters in a string.

Library

Standard C Library (libc.a)

Syntax

#include <string.h>


wchar_t *wcspbrk( WcString1 WcString2)
const wchar_t *WcString1;
const wchar_t *WcString2;

Description

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.

Parameters

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.

Related Information

The mbspbrk subroutine, wcschr (wcscat, wcschr, wcscmp, wcscpy, or wcscspn Subroutine) subroutine, wcscspn (wcscat, wcschr, wcscmp, wcscpy, or wcscspn Subroutine) subroutine, wcsrchr (wcsrchr Subroutine) subroutine, wcsspn (wcsspn Subroutine) subroutine, wcstok (wcstok Subroutine) subroutine, wcswcs (wcswcs Subroutine) subroutine.

Subroutines, Example Programs, and Libraries in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.

National Language Support Overview and Wide Character String Search Subroutines in AIX 5L Version 5.2 National Language Support Guide and Reference.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]