#include <string>#include <dlfcn.h>Go to the source code of this file.
Namespaces | |
| namespace | eonc |
| RAII resource manager for the ARTn C library with global synchronization. | |
| namespace | eonc::dynlib |
| Cross-platform dynamic library loading abstraction. | |
Typedefs | |
| using | eonc::dynlib::Handle = void * |
Functions | |
| Handle | eonc::dynlib::open (const char *name) noexcept |
| void * | eonc::dynlib::sym (Handle h, const char *name) noexcept |
| void | eonc::dynlib::close (Handle h) noexcept |
| std::string | eonc::dynlib::error () |
| Handle | eonc::dynlib::openFirst (const char *const names[]) noexcept |
| Try a list of library names in order, return first successful handle. | |
| template<typename Fn> | |
| Fn | eonc::dynlib::loadSym (Handle h, const char *name) noexcept |
| Load a symbol and cast to a function pointer type. | |