@brief Update the configuration of a set of GPIO lines. @param bulk Set of GPIO lines. @param direction Updated direction which may be one of GPIOD_LINE_REQUEST_DIRECTION_AS_IS, GPIOD_LINE_REQUEST_DIRECTION_INPUT, or GPIOD_LINE_REQUEST_DIRECTION_OUTPUT. @param flags Replacement flags. @param values An array holding line_bulk->num_lines new logical values for lines when direction is GPIOD_LINE_REQUEST_DIRECTION_OUTPUT. 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.
If the lines were not previously requested together, the behavior is undefined.