1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifdef __cplusplus extern "C" { #endif #define RTLD_LAZY 1 #define RTLD_NOW 2 #define RTLD_GLOBAL 4 #define RTLD_LOCAL 8 void *dlopen(const char *, int); void *dlsym(void *, const char *); int dlclose(void *); char *dlerror(void); #ifdef __cplusplus } #endif