This function dups a list by copying the list by creating a copy of list and returns the destinaton list pointer.
- 参数
-
pSrcList | [IN] The list |
pFuncCpy | [IN] The dup function for the data in the node |
pfFreeFunc | [IN] The pointer to the free function for the data in the node of data |
- 返回值
-
BslList* | The duplicated List pointer [BslList*] |
BslList* | If dup failed or memory allocation fails.[NULL] |