svn_stringbuf_remove

Function svn_stringbuf_remove 

Source
pub unsafe extern "C" fn svn_stringbuf_remove(
    str_: *mut svn_stringbuf_t,
    pos: apr_size_t,
    count: apr_size_t,
)
Expand description

Remove @a count bytes from @a str, starting at position @a pos.

If that range exceeds the current string data, truncate @a str at @a pos. If @a pos is larger than or equal to @c str->len, this will be a no-op. Otherwise, the resulting string will be @c str->len-count bytes long.

@since New in 1.8.