3 ms·
I thought so too, but the man pages suggest that may not be a requirement. Under Mac OS X, it looks like dlsym(RTLD_DEFAULT, "symbol") will look for the symbol
by prutschman 13y ago
I thought so too, but the man pages suggest that may not be a requirement.
Under Mac OS X, it looks like dlsym(RTLD_DEFAULT, "symbol") will look for the symbol anywhere.
Under Linux it looks like dlopen(NULL, flags) will open a handle to the main program which can be passed to dyslm's first argument.