Back to index

glibc  2.9
unload7mod1.c
Go to the documentation of this file.
00001 #include <dlfcn.h>
00002 #include <stdio.h>
00003 
00004 int
00005 foo (int i)
00006 {
00007   if (dlsym (RTLD_DEFAULT, "unload7_nonexistent_symbol") == NULL)
00008     return 1;
00009   puts ("dlsym returned non-NULL");
00010   return 0;
00011 }