23 #ifndef INCLUDED_WDLFCN
24 #define INCLUDED_WDLFCN
32 #define RTLD_LAZY 0x01
34 #define RTLD_GLOBAL 0x04 // semantics are unsupported, so complain if set.
35 #define RTLD_LOCAL 0x08
39 LIB_API
void*
dlopen(
const char* so_name,
int flags);
40 LIB_API
void*
dlsym(
void*
handle,
const char* sym_name);
42 #endif // #ifndef INCLUDED_WDLFCN
void * dlopen(const char *so_name, int flags)
int dlclose(void *handle)
void * dlsym(void *handle, const char *sym_name)
static Handle handle(size_t idx, u64 tag)