@brief Read current values from a set of GPIO lines.
@param device Name, path, number or label of the gpiochip.
@param offsets Array of offsets of lines whose values should be read.
@param values Buffer in which the values will be stored.
@param num_lines Number of lines, must be > 0.
@param active_low The active state of the lines - true if low.
@param consumer Name of the consumer.
@return 0 if the operation succeeds, -1 on error.
@brief Read current values from a set of GPIO lines. @param device Name, path, number or label of the gpiochip. @param offsets Array of offsets of lines whose values should be read. @param values Buffer in which the values will be stored. @param num_lines Number of lines, must be > 0. @param active_low The active state of the lines - true if low. @param consumer Name of the consumer. @return 0 if the operation succeeds, -1 on error.