October 2000
Intermediate to advanced
432 pages
9h 9m
English
Probably the best known and supported Unix runtime-linking API is the 'dlopen' interface, used by Solaris and GNU/Linux among others, and discussed earlier in Chapter 16, "Dynamic Loading." libltdl is based on the 'dlopen' API, with a few small differences and several enhancements.
The following libltdl API functions are declared in 'ltdl.h':
lt_dlhandle lt_dlopen (const char *filename) | This function brings the code from a named module into the address space of the running program that calls it and returns a handle used by the other API functions. If filename is not an absolute path, libltdl searches for it in directories named in the 'LTDL_LIBRARY_PATH' environment variable, and then in the standard library directories ... |
Read now
Unlock full access