@brief Get a GPIO line handle by GPIO chip description and offset.
@param device String describing the gpiochip.
@param offset The offset of the GPIO line.
@return GPIO line handle or NULL if an error occurred.
This routine provides a shorter alternative to calling
::gpiod_chip_open_lookup and ::gpiod_chip_get_line.
If this function succeeds, the caller is responsible for closing the
associated GPIO chip.
@brief Get a GPIO line handle by GPIO chip description and offset. @param device String describing the gpiochip. @param offset The offset of the GPIO line. @return GPIO line handle or NULL if an error occurred.
This routine provides a shorter alternative to calling ::gpiod_chip_open_lookup and ::gpiod_chip_get_line.
If this function succeeds, the caller is responsible for closing the associated GPIO chip.