add c11 quick_exit and at_quick_exit functions
[musl] / include / dlfcn.h
1 #ifndef _DLFCN_H
2 #define _DLFCN_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #define RTLD_LAZY   1
9 #define RTLD_NOW    2
10 #define RTLD_GLOBAL 256
11 #define RTLD_LOCAL  0
12
13 #define RTLD_NEXT    ((void *)-1)
14 #define RTLD_DEFAULT ((void *)0)
15
16 int    dlclose(void *);
17 char  *dlerror(void);
18 void  *dlopen(const char *, int);
19 void  *dlsym(void *, const char *);
20
21 #ifdef __cplusplus
22 }
23 #endif
24
25 #endif