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
* manual/tunables.texi: Add missing @end deftp.
[glibc.git]
/
dlfcn
/
bug-atexit3.c
blob
897eca8a86152a6ba6455049ba3e994902796c94
1
#include <dlfcn.h>
2
#include <stdio.h>
3
4
static int
5
do_test
(
void
)
6
{
7
void
*
handle
=
dlopen
(
"$ORIGIN/bug-atexit3-lib.so"
,
RTLD_LAZY
);
8
if
(
handle
==
NULL
)
9
{
10
printf
(
"dlopen failed: %s
\n
"
,
dlerror
());
11
return
1
;
12
}
13
dlclose
(
handle
);
14
return
0
;
15
}
16
17
#define TEST_FUNCTION do_test ()
18
#include
"../test-skeleton.c"