repo.or.cz
/
glibc
/
history.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adjust for __libc_res_nquery and __libc_res_nsearch interface changes.
[glibc/history.git]
/
elf
/
nodlopen2.c
blob
a223f36834ce1bf99f285546329e955d23dce8ba
1
#include <dlfcn.h>
2
#include <stdio.h>
3
4
int
5
main
(
void
)
6
{
7
if
(
dlopen
(
"nodlopenmod2.so"
,
RTLD_LAZY
) !=
NULL
)
8
{
9
puts
(
"opening
\"
nodlopenmod2.so
\"
succeeded, FAIL"
);
10
return
1
;
11
}
12
13
puts
(
"opening
\"
nodlopenmod2.so
\"
failed, OK"
);
14
return
0
;
15
}