Back to index

glibc  2.9
Defines | Functions
bug-atexit3.c File Reference
#include <dlfcn.h>
#include <stdio.h>
#include "../test-skeleton.c"

Go to the source code of this file.


#define TEST_FUNCTION   do_test ()


static int do_test (void)

Define Documentation

#define TEST_FUNCTION   do_test ()

Definition at line 17 of file bug-atexit3.c.

Function Documentation

static int do_test ( void  ) [static]

Definition at line 5 of file bug-atexit3.c.

  void *handle = dlopen ("$ORIGIN/", RTLD_LAZY);
  if (handle == NULL)
      printf ("dlopen failed: %s\n", dlerror ());
      return 1;
  dlclose (handle);
  return 0;

Here is the call graph for this function: