PSCrypto/pscrypto/test.c
2016-04-22 01:34:00 -04:00

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;
}