]>
git.ipfire.org Git - thirdparty/glibc.git/blob - elf/dblload.c
17 p1
= dlopen ("dblloadmod1.so", RTLD_LAZY
);
20 printf ("cannot open dblloadmod1.so: %s\n", dlerror ());
24 p2
= dlopen ("dblloadmod2.so", RTLD_LAZY
);
27 printf ("cannot open dblloadmod2.so: %s\n", dlerror ());
31 fp
= dlsym (p1
, "foo");
34 printf ("cannot get function \"foo\": %s\n", dlerror ());
40 if (dlclose (p1
) != 0)
42 printf ("error while closing dblloadmod1.so: %s\n", dlerror ());
46 if (dlclose (p2
) != 0)
48 printf ("error while closing dblloadmod2.so: %s\n", dlerror ());