Locale-Sensitive C/C++ String Operation Function
int rpmatch(const char *response);
Internationalization (I18n) Function Overview
The function rpmatch checks the string in response whether or not it is a correct yes-or-no answer and if yes, which one. The check uses the YESEXPR and NOEXPR data in the LC_MESSAGES category of the currently selected locale.
I18n Issues
Ensure that the current locale is set properly, in particular the LC_MESSAGES category YESEXPR and NOEXPR values.
There is no ANSI wide character version of this function. The parameter will have to be converted to multibyte UTF-8 characters and then the rpmatch function can be used.
Recommended Replacements*
*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.
Locale-Sensitive C/C++ String Operation Functions
|