:orphan: # PetscDLLibraryPrepend Add another dynamic library to search for symbols to the beginning of the search list ## Synopsis ``` PetscErrorCode PetscDLLibraryPrepend(MPI_Comm comm, PetscDLLibrary *outlist, const char path[]) ``` Collective ## Input Parameters - ***comm -*** MPI communicator - ***path -*** name of the library ## Output Parameter - ***outlist -*** list of libraries ## Note If library is already in the list it will remove the old reference. ## See Also `PetscDLLibrary`, `PetscDLLibraryOpen()`, `PetscLoadDynamicLibrary()`, `PetscDLLibraryRetrieve()`, `PetscDLLibraryOpen()`, `PetscDLLibraryAppend()` ## Level developer ## Location src/sys/dll/dl.c --- [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)