MBRUNE(3) BSD Library Functions Manual MBRUNE(3)
NAME
mbrune, mbrrune, mbmb -- multibyte rune support for C
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <rune.h>
char *
mbrune(const char *string, rune_t rune);
char *
mbrrune(const char *string, rune_t rune);
char *
mbmb(const char *string, char *pattern);
DESCRIPTION
The 4.4BSD ``rune'' functions have been deprecated in favour of the ISO C99 extended multibyte and wide character facilities and should not
be used in new applications. Consider working with wide characters instead, and using wcschr(3), wcsrchr(3), and wcsstr(3) instead of these
functions.
These routines provide the corresponding functionality of strchr(), strrchr() and strstr() for multibyte strings.
The mbrune() function locates the first occurrence of rune() in the string pointed to by string. The terminating NUL character is considered
part of the string. If rune is '