Back to index

glibc  2.9
nodlopen.c
Go to the documentation of this file.
00001 #include <dlfcn.h>
00002 #include <stdio.h>
00003 
00004 int
00005 main (void)
00006 {
00007   if (dlopen ("nodlopenmod.so", RTLD_LAZY) != NULL)
00008     {
00009       puts ("opening \"nodlopenmod.so\" succeeded, FAIL");
00010       return 1;
00011     }
00012 
00013   puts ("opening \"nodlopenmod.so\" failed, OK");
00014   return 0;
00015 }