DragonFly On-Line Manual Pages
dynload(3) DragonFly Library Functions Manual dynload(3)
NAME
dynload - encapsulates dynamic loading mechanisms and gives access to
functions in foreign dynamic libraries and code modules.
SYNOPSIS
#include <dynload.h>
DLLib *
dlLoadLibrary(const char * libpath);
void
dlFreeLibrary(DLLib * pLib);
void *
dlFindSymbol(DLLib pLibode, const char * pSymbolName);
DESCRIPTION
The dynload library provides an interface to load foreign dynamic
libraries and access to their symbols.
dlLoadLibrary() loads a dynamic library at libpath and returns a handle
to it for use in dlFreeLibrary() and dlFindSymbol() calls.
dlFreeLibrary() frees the loaded library with handle pLib.
dlFindSymbol() returns a pointer to a symbol with name pSymbolName in the
library with handle pLib, or returns a null pointer if the symbol cannot
be found.
SEE ALSO
dyncall(3), dyncallback(3) and the dyncall manual (available in PDF
format) for a way more detailed documentation of this library.
AUTHORS
Daniel Adler <dadler@uni-goettingen.de>
Tassilo Philipp <tphilipp@potion-studios.com>
DragonFly 6.5-DEVELOPMENT November 21, 2024 DragonFly 6.5-DEVELOPMENT