:orphan:
# PetscFunctionListGet
Gets an array the contains the entries in `PetscFunctionList`, this is used by help etc. 
## Synopsis
```
#include "petscsys.h" 
PetscErrorCode PetscFunctionListGet(PetscFunctionList list, const char ***array, int *n)
```
Not Collective


## Input Parameter

- ***list   -*** list of types



## Output Parameters

- ***array -*** array of names
- ***n -*** length of `array`





## Note
This allocates the array so that must be freed. BUT the individual entries are
not copied so should not be freed.


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

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/dll/reg.c.html#PetscFunctionListGet">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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
