lsm_string_list_append - Man Page
Append specified string to lsm_string_list.
Synopsis
int lsm_string_list_append (lsm_string_list *sl, const char *add);
Arguments
- sl
Pointer of lsm_string_list to update.
- add
The string to store in lsm_string_list.
Version
1.0
Description
Append the specified string to lsm_string_list. The string will be copied and managed by lsm_string_list. The lsm_string_list will be grown to hold this string.
Return
Error code as enumerated by 'lsm_error_number':
* LSM_ERR_OK
On success.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or not a valid lsm_string_list
pointer.
* LSM_ERR_NO_MEMORY
When no enough memory.
Info
July 2024 Libstoragemgmt C API Manual