Sign in
nest-open-source
/
nest-cam
/
v366
/
glibc
/
refs/heads/main
/
.
/
elf
/
nodlopen2.c
blob: a223f36834ce1bf99f285546329e955d23dce8ba [
file
] [
log
] [
blame
] [
edit
]
#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
;
}