dlfcn.h 398 B

12345678910111213141516171819
  1. #ifndef __DLFCN_H_
  2. #define __DLFCN_H_
  3. #define RTLD_LAZY 0x00000
  4. #define RTLD_NOW 0x00001
  5. #define RTLD_LOCAL 0x00000
  6. #define RTLD_GLOBAL 0x10000
  7. #define RTLD_DEFAULT ((void*)1)
  8. #define RTLD_NEXT ((void*)2)
  9. void *dlopen (const char *filename, int flag);
  10. const char *dlerror(void);
  11. void *dlsym(void *handle, const char *symbol);
  12. int dlclose (void *handle);
  13. #endif