X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fdlfcn.h;h=13ab71dd071eb5cdfe0d6cc593d906bf8e6b819d;hb=dc9285ad1dc19349c407072cc48ba70dab86de45;hp=e2f57b5343f842a0073096247cc80ec9bd31df70;hpb=55ddbc3e5d70f03bc52aece95fffb6abad47dbf4;p=musl diff --git a/include/dlfcn.h b/include/dlfcn.h index e2f57b53..13ab71dd 100644 --- a/include/dlfcn.h +++ b/include/dlfcn.h @@ -17,6 +17,8 @@ extern "C" { #define RTLD_NEXT ((void *)-1) #define RTLD_DEFAULT ((void *)0) +#define RTLD_DI_LINKMAP 2 + int dlclose(void *); char *dlerror(void); void *dlopen(const char *, int); @@ -29,7 +31,12 @@ typedef struct { const char *dli_sname; void *dli_saddr; } Dl_info; -int dladdr(void *, Dl_info *); +int dladdr(const void *, Dl_info *); +int dlinfo(void *, int, void *); +#endif + +#if _REDIR_TIME64 +__REDIR(dlsym, __dlsym_time64); #endif #ifdef __cplusplus