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.
#include <mbstr.h>
char *mbspbrk(MbString1, MbString2) char *MbString1, *MbString2;
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.
MbString1 | Points to the string being searched. |
MbString2 | Pointer to a set of characters in a string. |
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.
This subroutine is part of Base Operating System (BOS) Runtime.
The mbschr subroutine, mbsrchr subroutine, mbstomb subroutine, wcspbrk subroutine, wcswcs subroutine.
National Language Support Overview for Programming, Subroutines Overview in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.