This function dups a list by copying the list by creating a copy of list and returns the destinaton list pointer.
- Parameters
-
| 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 |
- Return values
-
| BslList* | The duplicated List pointer [BslList*] |
| BslList* | If dup failed or memory allocation fails.[NULL] |