xref: /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/openbsd/dlfcn.d (revision 0a3071956a3a9fdebdbf7f338cf2d439b45fc728)
1 /**
2  * D header file for OpenBSD.
3  *
4  * $(LINK2 https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/include/dlfcn.h?rev=1.15&content-type=text/plain, dlfcn.h)
5  */
6 module core.sys.openbsd.dlfcn;
7 
8 public import core.sys.posix.dlfcn;
9 
10 version (OpenBSD):
11 extern (C):
12 nothrow:
13 
14 enum RTLD_NEXT    = cast(void *)-1;
15 enum RTLD_DEFAULT = cast(void *)-2;
16 enum RTLD_SELF    = cast(void *)-3;
17 
18 enum DL_GETERRNO     = 1;
19 enum DL_SETTHREADLCK = 2;
20 enum DL_SETBINDLCK   = 3;
21 enum DL_REFERENCE    = 4;
22 
23 enum DL_LAZY         = RTLD_LAZY;
24 
25 int dlctl(void *, int, void *);
26