RCP API  6.61.0

◆ c_list_copy()

c_list_error_t c_list_copy ( c_list_t dest,
const c_list_t src 
)

Copy list.

Will copy list src to dest. Both src and must be valid lists allocated by c_list_create.

Note
If the user_defined field is a pointer to an external object it will not be deep copied.
Parameters
destdestination list
srcsource list
Returns
C_LIST_SUCCESS on success.