dlopen() and parent symbols

Chris Pressey cpressey at catseye.mine.nu
Wed Feb 4 19:00:59 PST 2004


On Wed, 4 Feb 2004 19:48:31 -0700 (MST)
"Joe Lewis" <joe at joe-lewis.com> wrote:

> I've read that I can't export symbols from the parent executable to
> modules opened with dlopen().  So, I have a (hopefully) quick
> question. How can I export function(s) to those modules?

Can you pass them a function pointer (callback)?  Don't know, never
tried it with a dlopen()'ed object, but I can't immediately see why it
wouldn't work...

-Chris


More information about the freebsd-questions mailing list