Scroll to navigation

lsm_string_list_alloc(3) Libstoragemgmt C API Manual lsm_string_list_alloc(3)

NAME

lsm_string_list_alloc - Allocates the memory for a string list.

SYNOPSIS

lsm_string_list * lsm_string_list_alloc (uint32_t size);

ARGUMENTS

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.

lsm_string_list_alloc May 2019