eth32_get_counter_rollover

int eth32_get_counter_rollover(eth32 handle, int counter, int *rollover);

Summary

This function retrieves the currently configured rollover point for the specified counter. Please see the eth32_set_counter_rollover function for more information about counter rollover thresholds.

Parameters

  • handle - The value returned by the eth32_open function.

  • counter - Specifies the counter number (0 or 1).

  • rollover - Pointer to a variable which will receive the current rollover threshold for the specified counter.

Return Value

This function returns zero on success and a negative error code on failure. Please see the Error Codes section for possible error codes.

See Also

eth32_get_counter_state, eth32_set_counter_rollover