pub unsafe extern "C" fn av_strlcat(
    dst: *mut c_char,
    src: *const c_char,
    size: usize
) -> usize
Expand description

Append the string src to the string dst, but to a total length of no more than size - 1 bytes, and null-terminate dst.

This function is similar to BSD strlcat(), but differs when size <= strlen(dst).

@param dst destination buffer @param src source string @param size size of destination buffer @return the total length of src and dst

@warning since the return value use the length of src and dst, these absolutely must be a properly 0-terminated strings, otherwise this will read beyond the end of the buffer and possibly crash.