Function linuxcnc_hal_sys::hal_get_param_value_by_name
source · pub unsafe extern "C" fn hal_get_param_value_by_name(
name: *const c_char,
type_: *mut hal_type_t,
data: *mut *mut hal_data_u
) -> c_int
Expand description
‘hal_get_param_value_by_name()’ returns the value of any arbitrary HAL parameter by parameter name.
The ‘type’ and ‘data’ args are pointers to the returned values. The function returns 0 if successful, or -1 on error.