void *dlsym(void *handle, const char *sym) { if(!handle || !sym || !*sym) return 0; int d = (int )(*(int*)handle); return __dlsym(d, sym); }
void * dlsym (void *handle, const char *name) { return __dlsym (handle, name, RETURN_ADDRESS (0)); }
/* dlsym */ void * dlsym(void * handle, char const * name) { return __dlsym(handle, name); }