13 #define RTLD_NODELETE 4096
14 #define RTLD_GLOBAL 256
17 #define RTLD_NEXT ((void *)-1)
18 #define RTLD_DEFAULT ((void *)0)
20 #define RTLD_DI_LINKMAP 2
24 void *dlopen(const char *, int);
25 void *dlsym(void *__restrict, const char *__restrict);
27 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
29 const char *dli_fname;
31 const char *dli_sname;
34 int dladdr(const void *, Dl_info *);
35 int dlinfo(void *, int, void *);