Skip to main content

svn_cstring_count_newlines

Function svn_cstring_count_newlines 

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

Return the number of line breaks in @a msg, allowing any kind of newline termination (CR, LF, CRLF, or LFCR), even inconsistent.

@since New in 1.2.