Locale-Sensitive C/C++ String Operation Functions
unsigned long strtoul( const char *nptr, char **endptr, int base );
unsigned long wcstoul( const wchar_t *nptr, wchar_t **endptr, int base );
unsigned long _tcstoul( const TCHAR *nptr, TCHAR **endptr, int base );
Internationalization (I18n) Function Overview
Each of these functions converts the input string nptr to an unsigned long. Each function returns the converted value, if any, or ULONG_MAX on overflow. errno is set to ERANGE if overflow or underflow occurs.
I18n Issues
Use the appropriate version of the function as required for internationalization support, noting the following:
Ensure that the current locale is set properly.
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
|