Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 284e34058d
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (13 sloc) 0.271 kB
/* test to build and run so that we know if we have dlopen
*/
#include <dlfcn.h>
int main ()
{
void * handle = dlopen((void*)0, RTLD_GLOBAL | RTLD_NOW);
void * addr = dlsym(handle, "printf");
if (addr) {
return 104;
} else {
return 0;
}
}
Jump to Line
Something went wrong with that request. Please try again.