#include <dlfnc.h>void *dlopen(const char *name, int mode);
Load the shared library named name, returning a descriptor that can be used in subsequent calls to dlsym and dlclose. If the library is already loaded, a new reference to the same object is returned. When a shared library is first loaded, its _init() function, if it exists, is called by the linker. The mode argument is currently ignored.
- name
- Path to the shared library to be loaded.
- mode
- Modify how external references are bound.
Returns a descriptor that can be used in later references to the object. Returns NULL on failure.