lsm_string_list_alloc - Man Page

Allocates the memory for a string list.

Synopsis

lsm_string_list  * lsm_string_list_alloc (uint32_t size);

Arguments

size

uint32_t. The count of string.

Version

1.0

Description

Allocates the memory for a string list. All elements will be set to NULL.

Return

Pointer of lsm_string. NULL on memory allocation failure or size is 0. Should be freed by lsm_string_list_free.

Info

April 2023 Libstoragemgmt C API Manual