diff --git a/src/lib/posix/module.c b/src/lib/posix/module.c index 439ddf3..5f110f6 100644 --- a/src/lib/posix/module.c +++ b/src/lib/posix/module.c @@ -6,4 +6,15 @@ void *tc_dlopen(const char *path) { return dlopen(path, RTLD_LAZY); } - + +void *tc_dlsym(void *handle, const char *name) { + return dlsym(handle, name); +} + +void tc_dlclose(void *handle) { + dlclose(handle); +} + +char *tc_dlerror() { + return dlerror(); +}