NaCl: Fix missing getdtablesize symbol.
[glibc.git] / elf / unload8mod3.c
blobd49e22b24c50dba28f72efbbde20476208019fc9
1 #include <dlfcn.h>
2 #include <stdio.h>
3 #include <stdlib.h>
5 void
6 mod3_fini2 (void)
10 void
11 mod3_fini (void)
13 mod3_fini2 ();
16 void
17 mod3 (void)
19 void *h = dlopen ("$ORIGIN/unload8mod2.so", RTLD_LAZY);
20 if (h == NULL)
22 puts ("dlopen unload8mod2.so failed");
23 exit (1);
26 atexit (mod3_fini);