Function mupdf_sys::fz_copy_option

source ·
pub unsafe extern "C" fn fz_copy_option(
    ctx: *mut fz_context,
    val: *const c_char,
    dest: *mut c_char,
    maxlen: usize
) -> usize
Expand description

Copy an option (val) into a destination buffer (dest), of maxlen bytes.

Returns the number of bytes (including terminator) that did not fit. If val is maxlen or greater bytes in size, it will be left unterminated.