lsm_string_list_alloc man page

lsm_string_list_alloc — 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

lsm_string_list_alloc October 2017 Libstoragemgmt C API Manual