#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_gpio_line_open_input(
chip: *const c_char,
line: u32,
out_line: *mut *mut PamojaGpioLine,
) -> PamojaStatusExpand description
Opens a line on a Linux board as an input.
§Arguments
chip- the GPIO chip’s device file, such as/dev/gpiochip0.line- the line’s number on that chip.out_line- receives the line, or null when opening fails.
§Returns
As pamoja_gpio_line_open_output.
§Safety
chip must be a null-terminated string or null, and out_line a writable pointer or
null.