mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-14 23:30:06 +00:00
17 lines
250 B
C
17 lines
250 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <dlfcn.h>
|
||
|
|
||
|
int
|
||
|
main (void)
|
||
|
{
|
||
|
void *handle = dlopen ("nodel2mod3.so", RTLD_LAZY);
|
||
|
if (handle == NULL)
|
||
|
{
|
||
|
printf ("%s\n", dlerror ());
|
||
|
exit (1);
|
||
|
}
|
||
|
dlclose (handle);
|
||
|
exit (1);
|
||
|
}
|