pomp_msg_dump

Function pomp_msg_dump 

Source
pub unsafe extern "C" fn pomp_msg_dump(
    msg: *const pomp_msg,
    dst: *mut c_char,
    maxdst: u32,
) -> c_int
Expand description

Dump a message in a human readable form. @param msg : message. @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)