Scroll to navigation

lsm_error_debug_data_get(3) Libstoragemgmt C API Manual lsm_error_debug_data_get(3)

NAME

lsm_error_debug_data_get - Retrieves the debug data from the error.

SYNOPSIS

void * lsm_error_debug_data_get (lsm_error_ptr e, uint32_t *size);

ARGUMENTS

The lsm_error to retrieves debug data from.
uint32_t pointer. The output pointer for debug data size.

VERSION

1.0

DESCRIPTION

Retrieves the debug data for the specified lsm_error.

NOTE

Address returned is valid until lsm_error gets freed, copy return value if you need longer scope. Do not free returned pointer.

RETURN

void *. NULL if argument 'e' is NULL or not a valid lsm_error_ptr.

lsm_error_debug_data_get April 2023