Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
utf8strirchr

utf8strirchr

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

utf8strirchr()

Search backwards for a UTF-8 character in a string, ignoring case

Synopsis:

char *utf8strirchr( char const *string_base, 
                    char const *start_char, 
                    char const *mbchar, 
                    int *count );

Arguments:

string_base
A pointer to the beginning of the string to search.
start_char
A pointer to the character in the string from which to search.
mbchar
The character to look for.
count
A pointer to the location where utf8strirchr() stores the number of characters spanned to find mbchar.

Library:

ph

Description:

The utf8strirchr() function searches backwards from start_char to string_base, inclusive, for a character that matches mbchar, regardless of case. If such a match occurs, count (if provided) is set to the number of characters spanned to find the match.

Returns:

A pointer to the beginning of the matching character within string_base, or NULL if no match is found.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

utf8strchr(), utf8strichr(), utf8strnchr(), utf8strnichr(), utf8strrchr()

Unicode Multilingual Support in the Photon Programmer's Guide