The handling of NULL values by gpiod_line_set_value_bulk has been changed to interpret NULL as low values for all lines. This patch updates the documentation of the function to describe that. Signed-off-by: Kent Gibson <warthog618@xxxxxxxxx> --- include/gpiod.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/gpiod.h b/include/gpiod.h index 41527d3..0e9f125 100644 --- a/include/gpiod.h +++ b/include/gpiod.h @@ -1296,6 +1296,7 @@ int gpiod_line_set_value(struct gpiod_line *line, int value) GPIOD_API; * @brief Set the values of a set of GPIO lines. * @param bulk Set of GPIO lines to reserve. * @param values An array holding line_bulk->num_lines new values for lines. + * A NULL pointer is interpreted as a logical low for all lines. * @return 0 is the operation succeeds. In case of an error this routine * returns -1 and sets the last error number. * -- 2.24.0