Back to index

glibc  2.9
Functions
tst-dlopenrpathmod.c File Reference
#include <dlfcn.h>
#include <stdio.h>

Go to the source code of this file.

Functions

int foo (void)

Function Documentation

int foo ( void  )

Definition at line 25 of file tst-dlopenrpathmod.c.

{
  void *p = dlopen ("in-subdir.so", RTLD_LAZY|RTLD_LOCAL);
  if (p != NULL)
    {
      dlclose (p);
      return 0;
    }

  puts ("couldn't open in-subdir.so from foo");
  return 1;
}

Here is the call graph for this function: