dlfcn.h 600 B

123456789101112131415161718192021
  1. /* User functions for run-time dynamic loading. libdl version */
  2. #ifndef _DLFCN_H
  3. #define _DLFCN_H 1
  4. #include <features.h>
  5. #include <bits/dlfcn.h>
  6. #define RTLD_NEXT ((void *) -1l)
  7. #define RTLD_DEFAULT ((void *) 0)
  8. /* Structure containing information about object searched using
  9. `dladdr'. */
  10. typedef struct
  11. {
  12. __const char *dli_fname; /* File name of defining object. */
  13. void *dli_fbase; /* Load address of that object. */
  14. __const char *dli_sname; /* Name of nearest symbol. */
  15. void *dli_saddr; /* Exact value of nearest symbol. */
  16. } Dl_info;
  17. #endif /* _DLFCN_H */