mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2025-02-25 18:55:24 -06:00
add posix library loading functions
This commit is contained in:
parent
fb044ba9f2
commit
0e762f237e
@ -6,4 +6,15 @@
|
|||||||
void *tc_dlopen(const char *path) {
|
void *tc_dlopen(const char *path) {
|
||||||
return dlopen(path, RTLD_LAZY);
|
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();
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user