1lsm_string_list_elem_get(3)Libstoragemgmt C API Manuallsm_string_list_elem_get(3)
2
3
4

NAME

6       lsm_string_list_elem_get  -  Retrieve  specified  index  of string from
7       lsm_string_list.
8

SYNOPSIS

10       const char  * lsm_string_list_elem_get (lsm_string_list  *sl,  uint32_t
11       index);
12

ARGUMENTS

14       sl          lsm_string_list. The string list to retrieve from.
15
16       index       uint32_t. The index of element string to retrieve. Starting
17                   from 0.
18

VERSION

20       1.0
21

DESCRIPTION

23       Retrieves specified index of string from lsm_string_list.
24

NOTE

26       Address returned is valid until lsm_string_list gets freed, copy return
27       value if you need longer scope. Do not free returned string.
28

RETURN

30       string.  NULL  if  argument 'sl' is NULL or not a valid lsm_string_list
31       pointer or out of index.
32
33
34
35February 2020              lsm_string_list_elem_getlsm_string_list_elem_get(3)
Impressum