svn_stringbuf_insert

Function svn_stringbuf_insert 

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

Insert into @a str at position @a pos an array of bytes @a bytes which is @a count bytes long.

The resulting string will be @c count+str->len bytes long. If @a pos is larger than or equal to @c str->len, simply append @a bytes.

Reallocs if necessary. @a str is affected, nothing else is.

@note The inserted string may be a sub-range of @a str.

@since New in 1.8.

@since Since 1.9, @a bytes can be NULL if @a count is zero.