Function eccodes_sys::grib_get_string[][src]

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

Get a string value from a key, if several keys of the same name are present, the last one is returned @see grib_set_string

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