Skip to main content

svn_utf_cstring_utf8_width

Function svn_utf_cstring_utf8_width 

Source
pub unsafe extern "C" fn svn_utf_cstring_utf8_width(
    cstr: *const c_char,
) -> c_int
Expand description

Return the display width of UTF-8-encoded C string @a cstr. If the string is not printable or invalid UTF-8, return -1.

@since New in 1.8.