projects
/
sbcl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9296b12afcc6d0a5b4030aff99ec27c8df6e27ce
[sbcl.git]
/
os-provides-dlopen-test.c
1
/* test to build and run so that we know if we have dlopen
2
*/
3
4
#include <dlfcn.h>
5
6
int main ()
7
{
8
void * handle = dlopen((void*)0, RTLD_GLOBAL | RTLD_NOW);
9
void * addr = dlsym(handle, "printf");
10
if (addr) {
11
return 104;
12
} else {
13
return 0;
14
}
15
}