Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/utf8/utf8strirchr.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/utf8/utf8strirchr.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/utf8/utf8strirchr.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/utf8/utf8strirchr.html on line 8

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


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/utf8/utf8strirchr.html on line 125

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/utf8/utf8strirchr.html on line 125