1lsm_string_list_append(3) Libstoragemgmt C API Manuallsm_string_list_append(3)
2
3
4

NAME

6       lsm_string_list_append - Append specified string to lsm_string_list.
7

SYNOPSIS

9       int lsm_string_list_append (lsm_string_list *sl, const char *add);
10

ARGUMENTS

12       sl          Pointer of lsm_string_list to update.
13
14       add         The string to store in lsm_string_list.
15

VERSION

17       1.0
18

DESCRIPTION

20       Append  the  specified  string  to lsm_string_list.  The string will be
21       copied and managed by lsm_string_list.   The  lsm_string_list  will  be
22       grown to hold this string.
23

RETURN

25       Error code as enumerated by 'lsm_error_number':
26           * LSM_ERR_OK
27               On success.
28           * LSM_ERR_INVALID_ARGUMENT
29               When any argument is NULL or not a valid lsm_string_list
30               pointer.
31           * LSM_ERR_NO_MEMORY
32               When no enough memory.
33
34
35
36May 2021                    lsm_string_list_append   lsm_string_list_append(3)
Impressum