# PetscFunctionListClear
Clear a `PetscFunctionList` 
## Synopsis
```
#include "petscsys.h" 
PetscErrorCode PetscFunctionListClear(PetscFunctionList fl)
```
Not Collective


## Input Parameter

- ***fl -*** The `PetscFunctionList` to clear



## Notes
This clears the contents of `fl` but does not deallocate the entries themselves.




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

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/dll/reg.c.html#PetscFunctionListClear">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)  
