Name

wcstol function — Converts a wide string to a long integer

Synopsis

long int wcstol(const wchar_t* str, wchar_t** end)

The wcstol function converts a wide string to long int. It is similar to the strtol function in <cstdlib>.