pomp_decoder_dump

Function pomp_decoder_dump 

Source
pub unsafe extern "C" fn pomp_decoder_dump(
    dec: *mut pomp_decoder,
    dst: *mut c_char,
    maxdst: u32,
) -> c_int
Expand description

Dump arguments in a human readable form. @param dec : decoder. @param dst : destination buffer. @param maxdst : max length of destination buffer. @return 0 in case of success, negative errno value in case of error.

@remarks if the buffer is too small, it will be ended with ellipsis ‘…’ if possible. It will also always be null terminated (unless maxlen is 0)