[ Previous | Next | Table of 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.

Implementation Specifics

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

Related Information

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

National Language Support Overview for Programming, Subroutines Overview in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.


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