1 2 3 4 5 6 7 8 9
#include <dlfcn.h> #include "libc.h" hidden int __dl_invalid_handle(void *); int dlclose(void *p) { return __dl_invalid_handle(p); }