:orphan:
# PetscDLLibraryClose
Destroys the search path of dynamic libraries and closes the libraries. 
## Synopsis
```
PetscErrorCode PetscDLLibraryClose(PetscDLLibrary list)
```
Collective


## Input Parameter

- ***head -*** library list





## See Also
 `PetscDLLibrary`, `PetscDLLibraryOpen()`, `PetscLoadDynamicLibrary()`, `PetscDLLibraryRetrieve()`, `PetscDLLibraryOpen()`, `PetscDLLibraryAppend()`,
`PetscDLLibraryPrepend()`

## Level
developer

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/dll/dl.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)  
