mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-15 04:20:28 +08:00
16 lines
264 B
C
16 lines
264 B
C
|
#include <dlfcn.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
int
|
||
|
main (void)
|
||
|
{
|
||
|
if (dlopen ("nodlopenmod2.so", RTLD_LAZY) != NULL)
|
||
|
{
|
||
|
puts ("opening \"nodlopenmod2.so\" succeeded, FAIL");
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
puts ("opening \"nodlopenmod2.so\" failed, OK");
|
||
|
return 0;
|
||
|
}
|