mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-27 13:10:29 +00:00
16 lines
261 B
C
16 lines
261 B
C
|
#include <dlfcn.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
int
|
||
|
main (void)
|
||
|
{
|
||
|
if (dlopen ("nodlopenmod.so", RTLD_LAZY) != NULL)
|
||
|
{
|
||
|
puts ("opening \"nodlopenmod.so\" succeeded, FAIL");
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
puts ("opening \"nodlopenmod.so\" failed, OK");
|
||
|
return 0;
|
||
|
}
|