# PetscFunctionListDuplicate
Creates a new list from a given object list. 
## Synopsis
```
#include "petscsys.h" 
PetscErrorCode PetscFunctionListDuplicate(PetscFunctionList fl, PetscFunctionList *nl)
```

## Input Parameters

- ***fl   -*** pointer to list



## Output Parameters

- ***nl -*** the new list (should point to 0 to start, otherwise appends)





## See Also
 `PetscFunctionList`, `PetscFunctionListAdd()`, `PetscFlistDestroy()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/dll/reg.c.html#PetscFunctionListDuplicate">src/sys/dll/reg.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/dll/reg.c)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
