Skip to main content

wcstoimax

Function wcstoimax 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn wcstoimax( nptr: *const wchar_t, endptr: *mut *mut wchar_t, base: c_int, ) -> intmax_t
Expand description

See https://pubs.opengroup.org/onlinepubs/9799919799/functions/wcstoimax.html.

Equivalent to wctol() and wctoll(), except that the initial portion of the wide string shall be converted to intmax_t.

Upon success, returns the converted value. If no conversion could be performed, returns 0.