GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
16.2. Module Access Functions
To access the functionality of dynamic modules, different architectures provide various APIs to bring the code from the module into the address space of the loading program, and to access the symbols exported by that module.
GNU/Linux uses the dynamic module API introduced by Sun's Solaris operating system and widely adopted (and adapted!) by the majority of modern Unices (HP-UX being the most notable exception). The interface consists of four functions. In practice, you really ought not to use these functions, because you would be locking your project into this single API and the class of machines that supports it. This description is oversimplified to serve as a comparison with the fully portable libltdl API described ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access