petsc-dev 2012-05-24
PetscDLSym
finds a symbol in a dynamic library
Synopsis
PetscErrorCode PetscDLSym(PetscDLHandle handle,const char symbol[],void **value)
Not Collective
Input Parameters
Output Parameter
value -pointer to the function
Notes
If handle is PETSC_NULL, the symbol is looked for in the main executable's dynamic symbol table.
In order to be dynamically loadable, the symbol has to be exported as such. On many UNIX-like
systems this requires platform-specific linker flags.
Level:developer
Location:src/sys/dll/dlimpl.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages