Scroll to navigation

lsm_string_list_free(3) Libstoragemgmt C API Manual lsm_string_list_free(3)

NAME

lsm_string_list_free - Frees the memory for string list.

SYNOPSIS

int lsm_string_list_free (lsm_string_list *sl);

ARGUMENTS

Pointer of lsm_string_list to free.

VERSION

1.0

DESCRIPTION

Frees the memory for string list.

RETURN

Error code as enumerated by 'lsm_error_number':
* LSM_ERR_OK
On success or not found.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or not a valid lsm_string_list
pointer.

lsm_string_list_free April 2023