Back to index

glibc  2.9
tst-array4.c
Go to the documentation of this file.
00001 #include <dlfcn.h>
00002 
00003 #define main array1_main
00004 #include "tst-array1.c"
00005 #undef main
00006 
00007 int
00008 main (void)
00009 {
00010   void *handle = dlopen ("tst-array2dep.so", RTLD_LAZY);
00011 
00012   array1_main ();
00013 
00014   if (handle != NULL)
00015     dlclose (handle);
00016 
00017   return 0;
00018 }