PetscErrorCode PetscDLAddr(void (*func)(void), char **name)Not Collective
handle | - obtained with PetscDLOpen() or NULL | |
func | - pointer to the function, NULL if not found |
name | - name of symbol, or NULL if name lookup is not supported. |
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.