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

Technical Reference: Base Operating System and Extensions, Volume 1

mbspbrk Subroutine

Purpose

Locates the first occurrence of multibyte characters or code points in a string.

Note
The mbspbrk subroutine is specific to the manufacturer. It is not defined in the POSIX, ANSI, or X/Open standards. Use of this subroutine may affect portability.

Library

Standard C Library (libc.a)

Syntax

#include <mbstr.h>


char *mbspbrk( MbString1 MbString2)
char *MbString1, *MbString2;

Description

The mbspbrk subroutine locates the first occurrence in the string pointed to by the MbString1 parameter, of any character of the string pointed to by the MbString2 parameter.

Parameters

MbString1 Points to the string being searched.
MbString2 Pointer to a set of characters in a string.

Return Values

The mbspbrk subroutine returns a pointer to the character. Otherwise, it returns a null character if no character from the string pointed to by the MbString2 parameter occurs in the string pointed to by the MbString1 parameter.

Related Information

The mbschr Subroutine, mbsrchr Subroutine, mbstomb Subroutine, wcspbrk subroutine, wcswcs subroutine.

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

National Language Support Overview 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 ]