pomp_msg_write_argv

Function pomp_msg_write_argv 

Source
pub unsafe extern "C" fn pomp_msg_write_argv(
    msg: *mut pomp_msg,
    msgid: u32,
    fmt: *const c_char,
    argc: c_int,
    argv: *const *const c_char,
) -> c_int
Expand description

Write and encode a message. @param msg : message. @param msgid : message id. @param fmt : format string. Can be NULL if no arguments given. @param argc : number of arguments. @param argv : array of arguments as strings. Each string will be converted according to its real type specified in format. @return 0 in case of success, negative errno value in case of error.

@remarks this is mainly used by the command line tool.