pomp_buffer_append_buffer

Function pomp_buffer_append_buffer 

Source
pub unsafe extern "C" fn pomp_buffer_append_buffer(
    buf: *mut pomp_buffer,
    src: *mut pomp_buffer,
) -> c_int
Expand description

Append source buffer data to the buffer. @param buf : destination buffer. @param src : source buffer to append. @return 0 in case of success, negative errno value in case of error. -EPERM is returned if the buffer is shared.

@remarks Can re-allocate the internal data buffer and invalidate the data/cdata retrieved before.