2 * D header file for Solaris
4 * $(LINK2 http://src.illumos.org/source/xref/illumos-gate/usr/src/head/dlfcn.h, illumos dlfcn.h)
7 module core
.sys
.solaris
.dlfcn
;
14 public import core
.sys
.posix
.dlfcn
;
15 import core
.stdc
.config
;
19 RTLD_NEXT
= cast(void *)-1,
20 RTLD_DEFAULT
= cast(void *)-2,
21 RTLD_SELF
= cast(void *)-3,
22 RTLD_PROBE
= cast(void *)-4,
27 void* dlmopen(Lmid_t
, const scope char*, int);
31 RTLD_REL_RELATIVE
= 0x00001,
32 RTLD_REL_EXEC
= 0x00002,
33 RTLD_REL_DEPENDS
= 0x00004,
34 RTLD_REL_PRELOAD
= 0x00008,
35 RTLD_REL_SELF
= 0x00010,
36 RTLD_REL_WEAK
= 0x00020,
37 RTLD_REL_ALL
= 0x00fff,
38 RTLD_MEMORY
= 0x01000,
40 RTLD_NOHEAP
= 0x04000,
41 RTLD_CONFSET
= 0x10000,
44 int dldump(const scope char*, const scope char*, int);
52 int dladdr1(void*, Dl_info
*, void**, int);
58 RTLD_DI_CONFIGADDR
= 3,
60 RTLD_DI_SERINFOSIZE
= 5,
62 RTLD_DI_PROFILENAME
= 7,
63 RTLD_DI_PROFILEOUT
= 8,
64 RTLD_DI_GETSIGNAL
= 9,
65 RTLD_DI_SETSIGNAL
= 10,
66 RTLD_DI_ARGSINFO
= 11,
69 RTLD_DI_DEFERRED
= 14,
70 RTLD_DI_DEFERRED_SYM
= 15,
74 int dlinfo(void*, int, void*);
86 Dl_serpath
[1] dls_serpath
;
89 // FIXME: Dl_argsinfo, Dl_mapinfo, Dl_amd64_unwindinfo are missing