2 * D header file for POSIX.
4 * Copyright: Public Domain
5 * License: Public Domain
7 * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
9 module core.sys.posix.dlfcn;
11 private import core.sys.posix.config;
26 void* dlopen(in char*, int);
27 void* dlsym(void*, in char*);
32 const RTLD_LAZY = 0x00001;
33 const RTLD_NOW = 0x00002;
34 const RTLD_GLOBAL = 0x00100;
35 const RTLD_LOCAL = 0x00000;
39 void* dlopen(in char*, int);
40 void* dlsym(void*, in char*);
42 else version( darwin )
44 const RTLD_LAZY = 0x00001;
45 const RTLD_NOW = 0x00002;
46 const RTLD_GLOBAL = 0x00100;
47 const RTLD_LOCAL = 0x00000;
51 void* dlopen(in char*, int);
52 void* dlsym(void*, in char*);
54 else version( freebsd )
58 const RTLD_GLOBAL = 0x100;
63 void* dlopen(in char*, int);
64 void* dlsym(void*, in char*);