first attempt at enabling stack protector support
[musl.git] / include / dlfcn.h
blobdea74c7dc7fc387a046f9f1dac0422ef52389c59
1 #ifndef _DLFCN_H
2 #define _DLFCN_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 #define RTLD_LAZY 1
9 #define RTLD_NOW 2
10 #define RTLD_GLOBAL 256
11 #define RTLD_LOCAL 0
13 #define RTLD_NEXT ((void *)-1)
14 #define RTLD_DEFAULT ((void *)0)
16 int dlclose(void *);
17 char *dlerror(void);
18 void *dlopen(const char *, int);
19 void *dlsym(void *, const char *);
21 #ifdef __cplusplus
23 #endif
25 #endif