kv_result_get_success()
#include <kvstore.h>
kv_int_t
kv_result_get_success(const kv_operation_results_t *res,
kv_int_t index)
Identifies whether the operation at the provided index was successful. Returns KV_TRUE
if it was successful; KV_FALSE
otherwise. If the index parameter is out of range, this function returns KV_NO_SUCH_OBJECT.
Parameters
-
res
The res parameter is the operation results list containing the operation result that you want to examine.
-
index
The index parameter is the index in the results list which hold the information you want to retrieve.