X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fdlfcn.h;h=db26194b22845389e4b2ea2add95ccfec097e089;hp=5b57e8acf48f21683b1e08fde0a998c576a18aad;hb=780cbbe63ad9e60ef30dbcb2d74271e899dae245;hpb=4d07e5521ea811278f00f434fe2b8345ea1d8832 diff --git a/include/dlfcn.h b/include/dlfcn.h index 5b57e8ac..db26194b 100644 --- a/include/dlfcn.h +++ b/include/dlfcn.h @@ -10,12 +10,15 @@ extern "C" { #define RTLD_LAZY 1 #define RTLD_NOW 2 #define RTLD_NOLOAD 4 +#define RTLD_NODELETE 4096 #define RTLD_GLOBAL 256 #define RTLD_LOCAL 0 #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,6 +32,7 @@ typedef struct { void *dli_saddr; } Dl_info; int dladdr(void *, Dl_info *); +int dlinfo(void *, int, void *); #endif #ifdef __cplusplus