Sign in
third-party-mirror
/
GRTEv5
/
refs/heads/master
/
.
/
google3
/
third_party
/
grte
/
v5_src
/
glibc-2.27
/
elf
/
unload6mod1.c
blob: 24f2e5a19aaf7283596cbe1925c6d1da8b0194de [
file
] [
log
] [
blame
] [
edit
]
#include
<dlfcn.h>
#include
<stdio.h>
int
foo
(
int
i
)
{
void
*
h
=
dlopen
(
"unload6mod2.so"
,
RTLD_LAZY
);
if
(
h
==
NULL
)
{
puts
(
"dlopen unload6mod2.so failed"
);
return
1
;
}
dlclose
(
h
);
return
i
+
8
;
}