dlfcn.h 356 B

12345678910111213141516171819
  1. #ifndef _DLFCN_H
  2. #define _DLFCN_H
  3. #define RTLD_LAZY 0x10000
  4. #define RTLD_NOW 0x20000
  5. #define RTLD_GLOBAL 0x40000
  6. #define RTLD_LOCAL 0x80000
  7. #if 1
  8. #define RTLD_NEXT ((void *) -1l)
  9. #define RTLD_DEFAULT ((void *) 0)
  10. #endif
  11. int dlclose(void *);
  12. char *dlerror(void);
  13. void *dlopen(const char *, int);
  14. void *dlsym(void *, const char *);
  15. #endif