pomp_encoder_write_argv

Function pomp_encoder_write_argv 

Source
pub unsafe extern "C" fn pomp_encoder_write_argv(
    enc: *mut pomp_encoder,
    fmt: *const c_char,
    argc: c_int,
    argv: *const *const c_char,
) -> c_int
Expand description

Encode arguments according to given format string. @param enc : encoder. @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.