delorie.com/djgpp/doc/libc/libc_157.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <sys/dxe.h> int dlregsym (const dxe_symbol_table *symtab); |
This function registers a table of symbols to be exported into the loaded modules.
You can register any number of such tables. When a module with unresolved external symbols is loaded, all these tables are searched for the respective symbol. If none is found, the last-resort handler is called. If even the last-resort handler cannot return an address, an error condition is raised.
The effect of dlregsym
is cumulative. That is, you can call it
multiple times to register several export symbol tables, and all of them will
be taken into account when loading a new module.
Returns number of symbol tables in use.
ANSI/ISO C | No |
POSIX | No |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |