svn_cstring_atoi

Function svn_cstring_atoi 

Source
pub unsafe extern "C" fn svn_cstring_atoi(
    n: *mut c_int,
    str_: *const c_char,
) -> *mut svn_error_t
Expand description

Parse the C string @a str into a 32 bit number, and return it in @a *n. Assume that the number is represented in base 10. Raise an error if conversion fails (e.g. due to overflow).

The behaviour otherwise is as described for svn_cstring_strtoi64().

@since New in 1.7.