gpiod_ctxless_set_value_ext

@brief Set value of a single GPIO line. @param device Name, path, number or label of the gpiochip. @param offset The offset of the GPIO line. @param value New value (0 or 1). @param active_low The active state of this line - true if low. @param consumer Name of the consumer. @param cb Optional callback function that will be called right after setting the value. Users can use this, for example, to pause the execution after toggling a GPIO. @param data Optional user data that will be passed to the callback function. @param flags The flags for the line. @return 0 if the operation succeeds, -1 on error.

extern (C)
int
gpiod_ctxless_set_value_ext
(
const(char)* device
,
uint offset
,
int value
,,
const(char)* consumer
,,
void* data
,
int flags
)

Meta