dlopen(3): #include <dlfcn.h> void *dlopen(const char *path, int mode); void *dlsym(void *handle, const char *symbol); ... void *dll_handle; char (*my_func)(char *); // me too :) dll_handle = dlopen("/my/tests/something.so", RTLD_NOW); my_func = dlsym(dll_handle, "my_func"); ... something.so should be compiled with the -shared option: cc -shared -o something.so something.c To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Loadable Code Modules? Marc Wandschneider
- Re: Loadable Code Modules? Chris Costello
- Re: Loadable Code Modules? Mike Nowlin
- Re: Loadable Code Modules? Michael Reifenberger
- Victor Ivanov