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