libdlobsdwrap.c 296 B

123456789101112131415161718192021
  1. #include <dlfcn.h>
  2. void * __dlopen (const char *path, int mode)
  3. {
  4. return dlopen(path, mode);
  5. }
  6. int __dlclose (void *handle)
  7. {
  8. return dlclose(handle);
  9. }
  10. void * __dlsym (void *handle, const char *symbol)
  11. {
  12. return dlsym(handle, symbol);
  13. }
  14. const char * __dlerror (void)
  15. {
  16. return dlerror();
  17. }