mirror of
https://github.com/psforever/PSCrypto.git
synced 2026-01-19 19:14:44 +00:00
21 lines
317 B
C
21 lines
317 B
C
|
|
#include <stdio.h>
|
||
|
|
#include <stdlib.h>
|
||
|
|
#include <dlfcn.h>
|
||
|
|
|
||
|
|
int
|
||
|
|
main(int argc, char **argv)
|
||
|
|
{
|
||
|
|
void *handle;
|
||
|
|
char *error;
|
||
|
|
|
||
|
|
handle = dlopen("./libpscrypto.so", RTLD_LAZY);
|
||
|
|
if (!handle) {
|
||
|
|
fprintf(stderr, "%s\n", dlerror());
|
||
|
|
exit(EXIT_FAILURE);
|
||
|
|
}
|
||
|
|
|
||
|
|
dlclose(handle);
|
||
|
|
|
||
|
|
return 0;
|
||
|
|
}
|