Function eccodes_sys::grib_set_string[][src]

pub unsafe extern "C" fn grib_set_string(
    h: *mut grib_handle,
    key: *const c_char,
    mesg: *const c_char,
    length: *mut size_t
) -> c_int
Expand description

Set a string value from a key. If several keys of the same name are present, the last one is set @see grib_get_string

@param h : the handle to set the data to @param key : the key to be searched @param mesg : the address of a string where the data will be read @param length : the address of a size_t that contains the length of the string on input, and that contains the actual packed length of the string on output @return 0 if OK, integer value on error