gpiod_chip_open_lookup

@brief Open a gpiochip based on the best guess what the path is. @param descr String describing the gpiochip. @return GPIO chip handle or NULL if an error occurred.

This routine tries to figure out whether the user passed it the path to the GPIO chip, its name, label or number as a string. Then it tries to open it using one of the gpiod_chip_open** variants.

extern (C)
gpiod_chip_open_lookup
(
const(char)* descr
)

Meta