DEADSOFTWARE

Dev/Docu added from original BlackBox 1.6-rc6
[bbcp.git] / new / _LinuxOpenBSD_ / Lin / Rsrc / loader / dev0.c
1 #include <dlfcn.h>
2 #include <stdio.h>
4 int main (int argc, char *argv[])
5 {
6 void * h;
7 int res;
9 h = dlopen("libBB0.so", RTLD_LAZY | RTLD_GLOBAL);
10 if (h != NULL) {
11 res = 0;
12 } else {
13 perror(dlerror());
14 res = 1;
15 }
17 return res;
18 }