dl.eh
Dynamic loading support. More...
Types
Functions
Description
This header provides support to open libraries and load functions from
them at runtime. The common case for this is writing plugins.
Type details
Represents instance of dynamically loaded library.
Function details
Loads and returns function library.
If given name contains slash characters then it is used as path
to the library. If not, then library named
libname.so
is
searched in directories listed in environment variable
LIBPATH
(which is "/lib" by default). If function fails to load library it
returns
null
.
Reads and constructs Ether library from the input stream.
Loads function with given signature from a library.
If the library does not have a function with given signature then
null
is returned. Since type of the function is not known at
compile time, you should explicitly cast function to appropriate type
to use it.