Fixed and unified pthread_once.
[glibc.git] / elf / nodlopen.c
blob642bdb3011a16189df248494fe9418a00c0500ae
1 #include <dlfcn.h>
2 #include <stdio.h>
4 int
5 main (void)
7 if (dlopen ("nodlopenmod.so", RTLD_LAZY) != NULL)
9 puts ("opening \"nodlopenmod.so\" succeeded, FAIL");
10 return 1;
13 puts ("opening \"nodlopenmod.so\" failed, OK");
14 return 0;