Back to index

glibc  2.9
globalmod1.c File Reference
#include <dlfcn.h>
#include <stdio.h>

Go to the source code of this file.


int test (void)

Function Documentation

int test ( void  )

Definition at line 7 of file globalmod1.c.

  (void) dlopen ("", RTLD_LAZY | RTLD_GLOBAL);
  if (dlsym (RTLD_DEFAULT, "call_me") != NULL)
      puts ("found \"call_me\"");
      return 0;
  puts ("didn't find \"call_me\"");
  return 1;

Here is the call graph for this function: