ubuntu-buildroot/output/build/glibc-2.36-81-g4f4d7a13edfd.../dlfcn/moddummy2.c

14 lines
314 B
C
Raw Normal View History

2024-04-01 15:19:46 +00:00
/* Provide a dummy DSO for tst-rec-dlopen to use. */
#include <stdio.h>
#include <stdlib.h>
int
dummy2 (void)
{
printf ("Called dummy2()\n");
/* If the outer dlopen is not dummy1 (becuase of some error)
then tst-rec-dlopen will see a value of -1 as the returned
result and fail. */
return -1;
}