blob: b28dc63d5c72dc302e4b6cccc26a64f4d036f3c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/**
* D header file for OpenBSD.
*
* $(LINK2 https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/include/dlfcn.h?rev=1.15&content-type=text/plain, dlfcn.h)
*/
module core.sys.openbsd.dlfcn;
public import core.sys.posix.dlfcn;
version (OpenBSD):
extern (C):
nothrow:
static assert(RTLD_LAZY == 1);
static assert(RTLD_NOW == 2);
static assert(RTLD_GLOBAL == 0x100);
static assert(RTLD_LOCAL == 0);
enum RTLD_TRACE = 0x200;
enum RTLD_NODELETE = 0x400;
enum RTLD_NEXT = cast(void *)-1;
enum RTLD_DEFAULT = cast(void *)-2;
enum RTLD_SELF = cast(void *)-3;
enum DL_GETERRNO = 1;
enum DL_SETTHREADLCK = 2;
enum DL_SETBINDLCK = 3;
enum DL_REFERENCE = 4;
enum DL_LAZY = RTLD_LAZY;
int dlctl(void *, int, void *);
|