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
Add tst-wcstod-round
[glibc.git]
/
elf
/
unload6mod1.c
blob
24f2e5a19aaf7283596cbe1925c6d1da8b0194de
1
#include <dlfcn.h>
2
#include <stdio.h>
3
4
int
5
foo
(
int
i
)
6
{
7
void
*
h
=
dlopen
(
"unload6mod2.so"
,
RTLD_LAZY
);
8
if
(
h
==
NULL
)
9
{
10
puts
(
"dlopen unload6mod2.so failed"
);
11
return
1
;
12
}
13
14
dlclose
(
h
);
15
return
i
+
8
;
16
}