Function soapysdr_sys::SoapySDRKwargs_set
source · pub unsafe extern "C" fn SoapySDRKwargs_set(
args: *mut SoapySDRKwargs,
key: *const c_char,
val: *const c_char
) -> c_int
Expand description
Set a key/value pair in a kwargs structure. \post If the key exists, the existing entry will be modified; otherwise a new entry will be appended to args. On error, the elements of args will not be modified, and args is guaranteed to be in a good state. \return 0 for success, otherwise allocation error