Function linuxcnc_hal_sys::hal_pin_bit_newf
source · pub unsafe extern "C" fn hal_pin_bit_newf(
dir: hal_pin_dir_t,
data_ptr_addr: *mut *mut hal_bit_t,
comp_id: c_int,
fmt: *const c_char,
...
) -> c_int
Expand description
The hal_pin_XXX_newf family of functions are similar to hal_pin_XXX_new except that they also do printf-style formatting to compute the pin name If successful, the hal_pin_xxx_newf() functions return 0. On failure they return a negative error code.